cookutils rev 700

cook: create packages.desc for -arm.tazpkg
author Richard Dunbar <mojo@slitaz.org>
date Mon Nov 24 00:53:35 2014 -0500 (2014-11-24)
parents 1bcdbd71bc99
children 1d55332252d7
files cook
line diff
     1.1 --- a/cook	Sun Nov 23 11:52:29 2014 +0100
     1.2 +++ b/cook	Mon Nov 24 00:53:35 2014 -0500
     1.3 @@ -1364,7 +1364,8 @@
     1.4  			if [ -s $pkg/taz/*/receipt ]; then
     1.5  				. $pkg/taz/*/receipt
     1.6  			fi
     1.7 -			if [ -f "$PKGS/$PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg" ]; then
     1.8 +			if [ -f "$PKGS/$PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg" ] || \
     1.9 +			   [ -f "$PKGS/$PACKAGE-${VERSION}${EXTRAVERSION}-${ARCH}.tazpkg" ]; then
    1.10  				# packages.desc lets us search easily in DB
    1.11  				cat >> $PKGS/packages.desc << EOT
    1.12  $PACKAGE | ${VERSION}$EXTRAVERSION | $SHORT_DESC | $CATEGORY | $WEB_SITE