cookutils rev 600

cook: fix files.list.lzma for iptables
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 21 11:35:38 2013 +0200 (2013-06-21)
parents f66c5d0bbc67
children c1bbd0a44da8
files cook
line diff
     1.1 --- a/cook	Sat May 25 21:50:25 2013 +0200
     1.2 +++ b/cook	Fri Jun 21 11:35:38 2013 +0200
     1.3 @@ -1255,11 +1255,11 @@
     1.4  		do
     1.5  			unset_receipt
     1.6  			. $pkg/receipt
     1.7 +			# PACKED_SIZE and UNPACKED_SIZE are only in built receipt
     1.8 +			if [ -s $pkg/taz/*/receipt ]; then
     1.9 +				. $pkg/taz/*/receipt
    1.10 +			fi
    1.11  			if [ -f "$PKGS/$PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg" ]; then
    1.12 -				# PACKED_SIZE and UNPACKED_SIZE are only in built receipt
    1.13 -				if [ -s $pkg/taz/*/receipt ]; then
    1.14 -					. $pkg/taz/*/receipt
    1.15 -				fi
    1.16  				# packages.desc lets us search easily in DB
    1.17  				cat >> $PKGS/packages.desc << EOT
    1.18  $PACKAGE | ${VERSION}$EXTRAVERSION | $SHORT_DESC | $CATEGORY | $WEB_SITE