tazwok rev 392
Fix update-wok)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Mar 03 21:29:18 2011 +0100 (2011-03-03) |
parents | 1f069c3f1058 |
children | 8291eaa3cc23 |
files | tazwok |
line diff
1.1 --- a/tazwok Thu Mar 03 21:26:31 2011 +0100 1.2 +++ b/tazwok Thu Mar 03 21:29:18 2011 +0100 1.3 @@ -2916,12 +2916,12 @@ 1.4 1.5 # Auto-install only if we are in a cook chroot. 1.6 if [ -x /usr/bin/clean-chroot ]; then 1.7 + tazpkg get-install mercurial 1.8 + else 1.9 echo "" >&2 1.10 echo "You need to install mercurial to get wok from hg (recommended). Oherwise, you can switch wok get method to \"tarball\" into $LOCAL_RESOSITORY/tazwok.conf (per-repository configuration, it not always exists) or /etc/slitaz/tazwok.conf (global configuration)." | fold -s >&2 1.11 echo "">&2 1.12 exit 1 1.13 - else 1.14 - tazpkg get-install mercurial 1.15 fi 1.16 fi 1.17