cookutils diff cook @ rev 274
cooker: check /var/run/cooker.pid
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 23 15:32:52 2011 +0100 (2011-12-23) |
parents | 99e761e39495 |
children | d9880aa3f3e5 |
line diff
1.1 --- a/cook Thu Oct 13 13:37:49 2011 +0200 1.2 +++ b/cook Fri Dec 23 15:32:52 2011 +0100 1.3 @@ -912,7 +912,9 @@ 1.4 . $pkg/receipt 1.5 if [ -f "$PKGS/$PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg" ]; then 1.6 # PACKED_SIZE and UNPACKED_SIZE are only in built receipt 1.7 - . $pkg/taz/*/receipt 1.8 + if [ -s $pkg/taz/*/receipt ]; then 1.9 + . $pkg/taz/*/receipt 1.10 + fi 1.11 # packages.desc lets us search easily in DB 1.12 cat >> $PKGS/packages.desc << EOT 1.13 $PACKAGE | ${VERSION}$EXTRAVERSION | $SHORT_DESC | $CATEGORY | $WEB_SITE