wok rev 7240
Fixed linux-sound and linux-netfilter to have same fix thats in last commit.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 13 03:57:25 2010 +0000 (2010-11-13) |
parents | 7b2d17996a15 |
children | 4a460f90dc7e |
files | linux-netfilter/receipt linux-sound/receipt |
line diff
1.1 --- a/linux-netfilter/receipt Sat Nov 13 03:27:43 2010 +0000 1.2 +++ b/linux-netfilter/receipt Sat Nov 13 03:57:25 2010 +0000 1.3 @@ -9,7 +9,6 @@ 1.4 WANTED="linux" 1.5 WEB_SITE="http://www.kernel.org/" 1.6 1.7 - 1.8 # Rules to gen a SliTaz package suitable for Tazpkg. 1.9 genpkg_rules() 1.10 { 1.11 @@ -27,6 +26,12 @@ 1.12 cp -a $_pkg/$path/$module $fs/$dir 1.13 done 1.14 rm -r $fs/$path/net/ipv6 1.15 + 1.16 + for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do 1.17 + if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then 1.18 + rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i 1.19 + fi 1.20 + done 1.21 } 1.22 1.23 # Post install/remove commands for Tazpkg.
2.1 --- a/linux-sound/receipt Sat Nov 13 03:27:43 2010 +0000 2.2 +++ b/linux-sound/receipt Sat Nov 13 03:57:25 2010 +0000 2.3 @@ -27,6 +27,12 @@ 2.4 cp -a $_pkg/lib/firmware/$i $fs/lib/firmware 2.5 done 2.6 2.7 + for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do 2.8 + if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then 2.9 + rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i 2.10 + fi 2.11 + done 2.12 + 2.13 } 2.14 2.15 # Post install/remove commands for Tazpkg.