tazwok rev 498
tank-bot: Made sure if .hg folder existed in LOCAL_REPOSITORY/flavors. It now clones flavors based on SLITAZ_VERSION.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Apr 30 21:17:27 2011 +0000 (2011-04-30) |
parents | 70c7cb6c0956 |
children | cb89a6cf5962 |
files | chroot-scripts/tank-bot |
line diff
1.1 --- a/chroot-scripts/tank-bot Sat Apr 30 21:13:12 2011 +0000 1.2 +++ b/chroot-scripts/tank-bot Sat Apr 30 21:17:27 2011 +0000 1.3 @@ -10,7 +10,12 @@ 1.4 . /etc/slitaz/tazwok.conf 1.5 LOCAL_REPOSITORY="$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}" 1.6 cd $LOCAL_REPOSITORY/flavors 1.7 -hg pull -u 1.8 +if [ ! -d .hg ]; then 1.9 + [ "$SLITAZ_VERSION" == "cooking" ] && hg clone http://hg.slitaz.org/flavors . 1.10 + [ "$SLITAZ_VERSION" == "stable" ] && hg clone http://hg.slitaz.org/flavors-stable . 1.11 +else 1.12 + hg pull -u 1.13 +fi 1.14 clean-chroot 1.15 1.16 tazwok cook-commit --missing