tazwok rev 382
Remove some false failed from report
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 28 23:12:13 2011 +0100 (2011-02-28) |
parents | 1fefea2845e8 |
children | 57321b17f1b9 |
files | tazwok |
line diff
1.1 --- a/tazwok Mon Feb 28 23:09:40 2011 +0100 1.2 +++ b/tazwok Mon Feb 28 23:12:13 2011 +0100 1.3 @@ -376,8 +376,9 @@ 1.4 report step "Removing previous build dependencies" 1.5 echo "Removing theses packages : $@" 1.6 for pkg in $@; do 1.7 - [ -d "$INSTALLED/$pkg" ] && tazpkg remove $pkg --auto 1.8 + [ -f "$INSTALLED/$pkg/receipt" ] && tazpkg remove $pkg --auto 1.9 done 1.10 + cd $PWD 1.11 report end-step 1.12 } 1.13 1.14 @@ -431,7 +432,7 @@ 1.15 if [ "$VERSION$EXTRAVERSION" != "$prev_VERSION" ]; then 1.16 rm -f $1/$PACKAGE-$prev_VERSION.tazpkg 1.17 fi 1.18 - return 1.19 + return 0 1.20 } 1.21 1.22 # Check for src tarball and wget if needed.