cookutils rev 304 1.6.4

Fix auto chroot update
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 13 12:02:22 2012 +0100 (2012-03-13)
parents 2ba864b40290
children 02cd0ab3f363
files cook
line diff
     1.1 --- a/cook	Tue Mar 13 11:12:02 2012 +0100
     1.2 +++ b/cook	Tue Mar 13 12:02:22 2012 +0100
     1.3 @@ -1183,9 +1183,11 @@
     1.4  			fi
     1.5  		fi
     1.6  		
     1.7 -		# Install package if ipart of the chroot to keep env up-to-date.
     1.8 +		# Install package if part of the chroot to keep env up-to-date.
     1.9  		if [ -d "$INSTALLED/$PACKAGE" ]; then
    1.10 -			tazpkg install $PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg --forced
    1.11 +			echo -n "$PACKAGE "; gettext -e "package is installed, updating chroot...\n"
    1.12 +			cd $PKGS && tazpkg install \
    1.13 +				$PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg --forced
    1.14  		fi
    1.15  		
    1.16  		# Finally we DONT WANT to build the *-dev or packages with WANTED="$pkg"