tazwok view chroot-scripts/tank-bot @ rev 454
cook-toolchain: fix a bug which prevent to cook-toolchain
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 15 23:07:53 2011 +0100 (2011-03-15) |
parents | 66c50670fa11 |
children | 0dafc6cafa19 |
line source
1 #!/bin/sh
2 # Automate common management tasks.
4 # Update repositories
5 if [ ! -d /var/lib/tazpkg/installed/mercurial ]; then
6 tazpkg get-install mercurial
7 fi
8 tazwok update-wok
9 . /etc/slitaz/slitaz.conf
10 . /etc/slitaz/tazwok.conf
11 LOCAL_REPOSITORY="$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}"
12 cd $LOCAL_REPOSITORY/flavors
13 hg pull -u
14 clean-chroot
16 tazwok cook-commit --missing
17 tazwok check-incoming