tazwok rev 250
Clean() improving, 2nd try.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 04:48:25 2011 +0100 (2011-02-12) |
parents | a4534c67d98c |
children | c44ecc9c23f7 |
files | tazwok |
line diff
1.1 --- a/tazwok Sat Feb 12 04:44:30 2011 +0100 1.2 +++ b/tazwok Sat Feb 12 04:48:25 2011 +0100 1.3 @@ -1808,10 +1808,10 @@ 1.4 for f in `ls .` 1.5 do 1.6 case $f in 1.7 - receipt|stuff|description.txt) 1.8 + receipt|stuff|description.txt|md5) 1.9 continue ;; 1.10 *) 1.11 - echo "Removing: $f" 1.12 + [ "$COMMAND" = clean-wok ] || echo "Removing: $f" 1.13 rm -rf $f 1.14 esac 1.15 done