cookutils diff cook @ rev 29
Better output for cookorder, add SETUP_PKGS in cook.conf to share list with the cooker + small improvments
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 06 16:14:39 2011 +0200 (2011-05-06) |
parents | 107f17f16133 |
children | 5782ad5be711 |
line diff
1.1 --- a/cook Fri May 06 04:46:36 2011 +0200 1.2 +++ b/cook Fri May 06 16:14:39 2011 +0200 1.3 @@ -161,7 +161,7 @@ 1.4 hg*|mercurial*) 1.5 # We are in cache so clone here and create a tarball 1.6 pwd=$(pwd) 1.7 - if $(echo "$WGET_URL" | fgrep -q hg); then 1.8 + if $(echo "$WGET_URL" | fgrep -q "hg|"); then 1.9 url=${WGET_URL#hg|} 1.10 else 1.11 url=${WGET_URL#mercurial|} 1.12 @@ -514,7 +514,7 @@ 1.13 gettext "Creating directories structure in:"; echo " $SLITAZ" 1.14 mkdir -p $WOK $PKGS $SRC $CACHE $LOGS 1.15 gettext -e "Checking for packages to install...\n" 1.16 - for pkg in slitaz-toolchain tazdev intltool gettext 1.17 + for pkg in $SETUP_PKGS 1.18 do 1.19 [ ! -d "$INSTALLED/$pkg" ] && tazpkg get-install $pkg 1.20 done