# HG changeset patch # User Antoine Bodin # Date 1299184158 -3600 # Node ID eee0b326a1de158cb954d1f8bbd72a199e5db5b2 # Parent 1f069c3f1058b0deae055ab30e97c744b6a13875 Fix update-wok) diff -r 1f069c3f1058 -r eee0b326a1de tazwok --- a/tazwok Thu Mar 03 21:26:31 2011 +0100 +++ b/tazwok Thu Mar 03 21:29:18 2011 +0100 @@ -2916,12 +2916,12 @@ # Auto-install only if we are in a cook chroot. if [ -x /usr/bin/clean-chroot ]; then + tazpkg get-install mercurial + else echo "" >&2 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 echo "">&2 exit 1 - else - tazpkg get-install mercurial fi fi