cookutils rev 267
cook: fix packages size in packages.txt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 07 16:49:10 2011 +0200 (2011-09-07) |
parents | fc5f79a65946 |
children | 99e761e39495 |
files | cook |
line diff
1.1 --- a/cook Sat Jun 18 22:43:14 2011 +0200 1.2 +++ b/cook Wed Sep 07 16:49:10 2011 +0200 1.3 @@ -908,6 +908,8 @@ 1.4 unset_receipt 1.5 . $pkg/receipt 1.6 if [ -f "$PKGS/$PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg" ]; then 1.7 + # PACKED_SIZE and UNPACKED_SIZE are only in built receipt 1.8 + . $pkg/taz/*/receipt 1.9 # packages.desc lets us search easily in DB 1.10 cat >> $PKGS/packages.desc << EOT 1.11 $PACKAGE | ${VERSION}$EXTRAVERSION | $SHORT_DESC | $CATEGORY | $WEB_SITE