# HG changeset patch # User Christophe Lincoln # Date 1298374857 -3600 # Node ID d16b2ca095464a1735951bfb6e45e34edc45b16e # Parent 30fbac111125c2f4d4061b85c36d79a6590c6cca tank-bot: Dont try to install mercurial each time diff -r 30fbac111125 -r d16b2ca09546 chroot-scripts/tank-bot --- a/chroot-scripts/tank-bot Thu Feb 24 03:45:19 2011 +0100 +++ b/chroot-scripts/tank-bot Tue Feb 22 12:40:57 2011 +0100 @@ -2,10 +2,12 @@ # Automate common management tasks. # Update repositories -tazpkg get-install mercurial +if [ ! -d /var/lib/tazpkg/installed/mercurial ]; then + tazpkg get-install mercurial +fi tazwok update-wok -source /etc/slitaz/slitaz.conf -source /etc/slitaz/tazwok.conf +. /etc/slitaz/slitaz.conf +. /etc/slitaz/tazwok.conf LOCAL_REPOSITORY="$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}" cd $LOCAL_REPOSITORY/flavors hg pull -u