wok-current diff linux-udf/receipt @ rev 7323

autofs: add /etc/init.d/autofs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 18 09:56:09 2010 +0100 (2010-11-18)
parents 5355ffc461cf
children 03d4663c81fa
line diff
     1.1 --- a/linux-udf/receipt	Fri Nov 05 15:48:33 2010 +0000
     1.2 +++ b/linux-udf/receipt	Thu Nov 18 09:56:09 2010 +0100
     1.3 @@ -24,6 +24,12 @@
     1.4          cp -a $_pkg/$path/$module $fs/$dir
     1.5      done
     1.6      touch $fs/etc/filesystems
     1.7 +
     1.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
     1.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    1.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
    1.11 +	fi
    1.12 +    done
    1.13  }
    1.14  
    1.15  # Post install/remove commands for Tazpkg.