tazwok rev 329
Fixed tazwok update-wok again.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Feb 20 09:33:41 2011 +0000 (2011-02-20) |
parents | dc3111cd66af |
children | 14d4617ed3d2 |
files | tazwok |
line diff
1.1 --- a/tazwok Sun Feb 20 07:35:51 2011 +0000 1.2 +++ b/tazwok Sun Feb 20 09:33:41 2011 +0000 1.3 @@ -2907,15 +2907,15 @@ 1.4 cd $WOK 1.5 for dir in *; do 1.6 [ -d $dir ] || continue 1.7 - [ ! -d "$clean_wok/$dir" ] || rm -rf $dir 1.8 + [ -d "$clean_wok/$dir" ] || rm -rf $dir 1.9 done 1.10 for file in */receipt */description.txt; do 1.11 [ -f $file ] || continue 1.12 - [ ! -f "$clean_wok/$file" ] || rm -rf $file 1.13 + [ -f "$clean_wok/$file" ] || rm -rf $file 1.14 done 1.15 for i in $(find */stuff); do 1.16 [ -e $i ] || continue 1.17 - [ ! -e "$clean_wok/$i" ] || rm -rf $i 1.18 + [ -e "$clean_wok/$i" ] || rm -rf $i 1.19 done 1.20 1.21 cp -a $clean_wok/* $WOK