tazwok rev 212

Fix minor issue about Updating receipt size status display
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 31 03:40:56 2011 +0100 (2011-01-31)
parents 0311568a66bb
children 86b617f57d3b
files tazwok
line diff
     1.1 --- a/tazwok	Mon Jan 31 03:11:11 2011 +0100
     1.2 +++ b/tazwok	Mon Jan 31 03:40:56 2011 +0100
     1.3 @@ -925,7 +925,8 @@
     1.4  	sed -i '/^UNPACKED_SIZE/d' receipt
     1.5  	sed -i "s/^PACKAGE=/PACKED_SIZE=\"$PACKED_SIZE\"\nUNPACKED_SIZE=\"$UNPACKED_SIZE\"\nPACKAGE=/" receipt
     1.6  	sed -i "s/^VERSION=$/VERSION=\"$VERSION\"/" receipt
     1.7 -	if [ -n "$EXTRAVERSION" ]; then
     1.8 +	report end-step
     1.9 +	if [ "$EXTRAVERSION" ]; then
    1.10  		report step "Updating receipt EXTRAVERSION"
    1.11  		sed -i s/^EXTRAVERSION.*$// receipt
    1.12  		sed -i "s/^VERSION=/EXTRAVERSION=\"$EXTRAVERSION\"\nVERSION=/" receipt