tazwok rev 479 4.3

tazwok, check_for_incoming: bugfix
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Apr 06 21:32:24 2011 +0200 (2011-04-06)
parents 789cd6566f3a
children 1192edf7f0fb
files tazwok
line diff
     1.1 --- a/tazwok	Mon Apr 04 03:05:44 2011 +0200
     1.2 +++ b/tazwok	Wed Apr 06 21:32:24 2011 +0200
     1.3 @@ -2168,16 +2168,14 @@
     1.4  				grep -q $'\t'$previous_tarball$ $SOURCES_REPOSITORY/sources.list || \
     1.5  					rm -f $SOURCES_REPOSITORY/$previous_tarball
     1.6  			fi
     1.7 -			[ "$save_wok" ] &&
     1.8 -			copy_cooking_stuff $INCOMING_REPOSITORY/wok $PACKAGE $PACKAGES_REPOSITORY/wok &&
     1.9 -			rm -r $INCOMING_REPOSITORY/wok/$PACKAGE
    1.10 +			[ "$save_wok" ] && mv $INCOMING_REPOSITORY/wok/$PACKAGE $PACKAGES_REPOSITORY/wok
    1.11  	done
    1.12  
    1.13  	if [ "$save_wok" = tarball ]; then
    1.14  		rm -f $PACKAGES_REPOSITORY/wok.tar.lzma
    1.15  		cd $PACKAGES_REPOSITORY/wok
    1.16  		report step "Generating safe-wok tarball"
    1.17 -		tar -c * | lzma e $PACKAGES_REPOSITORY/wok.tar.lzma
    1.18 +		tar -c * | lzma e -si $PACKAGES_REPOSITORY/wok.tar.lzma
    1.19  		report end-step
    1.20  	fi
    1.21