wok-4.x diff linux-drm/receipt @ rev 7239
Fixed wanted linux receipts to remove modules that are in modules-VERSION.list if they exist in other packages.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 13 03:27:43 2010 +0000 (2010-11-13) |
parents | 5355ffc461cf |
children | 27c14cd11116 |
line diff
1.1 --- a/linux-drm/receipt Fri Nov 05 15:48:33 2010 +0000 1.2 +++ b/linux-drm/receipt Sat Nov 13 03:27:43 2010 +0000 1.3 @@ -22,6 +22,12 @@ 1.4 [ -d $fs/$dir ] || mkdir -p $fs/$dir 1.5 cp -a $_pkg/$path/$module $fs/$dir 1.6 done 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.