tazwok annotate chroot-scripts/tank-bot @ rev 336
tank-bot: Dont try to install mercurial each time
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 22 12:40:57 2011 +0100 (2011-02-22) |
parents | 66c50670fa11 |
children | 0dafc6cafa19 |
rev | line source |
---|---|
gokhlayeh@315 | 1 #!/bin/sh |
gokhlayeh@315 | 2 # Automate common management tasks. |
gokhlayeh@315 | 3 |
gokhlayeh@315 | 4 # Update repositories |
pankso@336 | 5 if [ ! -d /var/lib/tazpkg/installed/mercurial ]; then |
pankso@336 | 6 tazpkg get-install mercurial |
pankso@336 | 7 fi |
gokhlayeh@315 | 8 tazwok update-wok |
pankso@336 | 9 . /etc/slitaz/slitaz.conf |
pankso@336 | 10 . /etc/slitaz/tazwok.conf |
pankso@319 | 11 LOCAL_REPOSITORY="$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}" |
gokhlayeh@315 | 12 cd $LOCAL_REPOSITORY/flavors |
gokhlayeh@315 | 13 hg pull -u |
gokhlayeh@315 | 14 clean-chroot |
gokhlayeh@315 | 15 |
gokhlayeh@315 | 16 tazwok cook-commit --missing |
gokhlayeh@315 | 17 tazwok check-incoming |