tazpkg rev 161
Fix: Remove files and directories as well.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Oct 01 00:03:03 2008 +0200 (2008-10-01) |
parents | 1baf308955de |
children | bfbd3b3a28b4 |
files | tazpkg |
line diff
1.1 --- a/tazpkg Fri Sep 26 09:05:02 2008 +0000 1.2 +++ b/tazpkg Wed Oct 01 00:03:03 2008 +0200 1.3 @@ -1084,7 +1084,7 @@ 1.4 for file in `cat $INSTALLED/$PACKAGE/files.list` 1.5 do 1.6 [ $(grep ^$file$ $INSTALLED/*/files.list | wc -l) -gt 1 ] && continue 1.7 - rm -f $file 2>/dev/null 1.8 + rm -rf $file 2>/dev/null 1.9 done 1.10 status 1.11 if grep -q ^post_remove $INSTALLED/$PACKAGE/receipt; then