tazwok annotate chroot-scripts/tank-bot @ rev 543
Change VERSION to 4.2.17
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Nov 26 16:56:28 2011 +0100 (2011-11-26) |
parents | d16b2ca09546 |
children | 61b3b07955df |
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 |
slaxemulator@498 | 13 if [ ! -d .hg ]; then |
slaxemulator@498 | 14 [ "$SLITAZ_VERSION" == "cooking" ] && hg clone http://hg.slitaz.org/flavors . |
slaxemulator@498 | 15 [ "$SLITAZ_VERSION" == "stable" ] && hg clone http://hg.slitaz.org/flavors-stable . |
slaxemulator@498 | 16 else |
slaxemulator@498 | 17 hg pull -u |
slaxemulator@498 | 18 fi |
gokhlayeh@315 | 19 clean-chroot |
gokhlayeh@315 | 20 |
gokhlayeh@315 | 21 tazwok cook-commit --missing |
gokhlayeh@315 | 22 tazwok check-incoming |