slitaz-modular rev 110
local-mirror: Add wok-tank support. The new my-wok repo.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 25 07:44:45 2011 +0000 (2011-05-25) |
parents | 649e9b448468 |
children | f3b8d996e7b9 |
files | initramfs/usr/bin/local-mirror |
line diff
1.1 --- a/initramfs/usr/bin/local-mirror Fri May 20 14:49:49 2011 +0000 1.2 +++ b/initramfs/usr/bin/local-mirror Wed May 25 07:44:45 2011 +0000 1.3 @@ -59,8 +59,8 @@ 1.4 [ -d $MAIN_WWW_DIR ] || mkdir -p $MAIN_WWW_DIR 1.5 [ -L /var/www/vhosts ] || ln -sf $MAIN_WWW_DIR /var/www/vhosts 1.6 1.7 - if [ -d $REPOS_DIR/my-wok ]; then 1.8 - REPO_WOK=$REPOS_DIR/my-wok 1.9 + if [ -d $REPOS_DIR/wok-tank ]; then 1.10 + REPO_WOK=$REPOS_DIR/wok-tank 1.11 if [ -x /usr/bin/hg ]; then 1.12 cd $REPO_WOK 1.13 if [ ! "$(hg branch)" = "cooking" ]; then 1.14 @@ -252,7 +252,6 @@ 1.15 [ "$repo" = "cookutils" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 1.16 [ "$repo" = "flavors" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 1.17 [ "$repo" = "flavors-stable" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc 1.18 - [ "$repo" = "my-wok" ] && echo "contact = Christopher Rogers" >> $REPOS_DIR/$repo/.hg/hgrc 1.19 [ "$repo" = "slitaz-base-files" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc 1.20 [ "$repo" = "slitaz-boot-scripts" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 1.21 [ "$repo" = "slitaz-configs" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 1.22 @@ -272,6 +271,7 @@ 1.23 [ "$repo" = "website" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 1.24 [ "$repo" = "wok" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 1.25 [ "$repo" = "wok-stable" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 1.26 + [ "$repo" = "wok-tank" ] && echo "contact = Christopher Rogers" >> $REPOS_DIR/$repo/.hg/hgrc 1.27 [ "$repo" = "wok-tiny" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc 1.28 [ "$repo" = "wok-undigest" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 1.29 fi 1.30 @@ -299,6 +299,7 @@ 1.31 [ "$repo" = "website" ] && echo "description = SliTaz Website" >> $REPOS_DIR/$repo/.hg/hgrc 1.32 [ "$repo" = "wok" ] && echo "description = SliTaz Cooking wok" >> $REPOS_DIR/$repo/.hg/hgrc 1.33 [ "$repo" = "wok-stable" ] && echo "description = SliTaz Stable wok" >> $REPOS_DIR/$repo/.hg/hgrc 1.34 + [ "$repo" = "wok-tank" ] && echo "description = SliTaz Tank Mirror wok" >> $REPOS_DIR/$repo/.hg/hgrc 1.35 [ "$repo" = "wok-tiny" ] && echo "description = Tiny SliTaz wok" >> $REPOS_DIR/$repo/.hg/hgrc 1.36 [ "$repo" = "wok-undigest" ] && echo "description = SliTaz Undigest wok" >> $REPOS_DIR/$repo/.hg/hgrc 1.37 fi