wok-6.x diff mISDN/receipt @ rev 2926

linux modules depends on depmod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 07 09:37:08 2009 +0200 (2009-05-07)
parents c1610baa4cf4
children
line diff
     1.1 --- a/mISDN/receipt	Thu Jan 22 18:08:21 2009 +0000
     1.2 +++ b/mISDN/receipt	Thu May 07 09:37:08 2009 +0200
     1.3 @@ -8,6 +8,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.misdn.org/"
     1.6  WGET_URL="${WEB_SITE}downloads/releases/$TARBALL"
     1.7 +DEPENDS="linux"
     1.8  BUILD_DEPENDS="linux"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11 @@ -53,7 +54,7 @@
    1.12  # Post install/remove commands for Tazpkg.
    1.13  post_install()
    1.14  {
    1.15 -	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
    1.16 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    1.17  }
    1.18  
    1.19  post_remove()