cookutils rev 307

Dont update package if AUFS is in use
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 13 13:10:17 2012 +0100 (2012-03-13)
parents 2aa3979a2ccc
children 2f199cb51bce
files cook
line diff
     1.1 --- a/cook	Tue Mar 13 13:03:35 2012 +0100
     1.2 +++ b/cook	Tue Mar 13 13:10:17 2012 +0100
     1.3 @@ -1191,7 +1191,7 @@
     1.4  		fi
     1.5  		
     1.6  		# Install package if part of the chroot to keep env up-to-date.
     1.7 -		if [ -d "$INSTALLED/$PACKAGE" ]; then
     1.8 +		if [ -d "$INSTALLED/$PACKAGE" ] && [ -z "$AUFS_MOUNTS" ]; then
     1.9  			echo -n "$PACKAGE "; gettext -e "package is installed, updating chroot...\n"
    1.10  			cd $PKGS && tazpkg install \
    1.11  				$PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg --forced