cookutils rev 303
cook: Install cooked pkg id part of chroot to keep env up-to-date
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 13 11:12:02 2012 +0100 (2012-03-13) |
parents | 64fd03d76a31 |
children | 1e27546d2332 |
files | cook |
line diff
1.1 --- a/cook Tue Mar 13 11:05:37 2012 +0100 1.2 +++ b/cook Tue Mar 13 11:12:02 2012 +0100 1.3 @@ -1182,6 +1182,12 @@ 1.4 exit 1 1.5 fi 1.6 fi 1.7 + 1.8 + # Install package if ipart 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 + fi 1.12 + 1.13 # Finally we DONT WANT to build the *-dev or packages with WANTED="$pkg" 1.14 # You want automation: use the Cooker Build Bot. 1.15 #[ -d "$WOK/$pkg-dev" ] && cook $pkg-dev