slitaz-forge rev 104

tank: pull repo to update site, now Hg is on a other host
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 09 00:23:04 2012 +0100 (2012-03-09)
parents c4d5214a372b
children 4b79298cf080
files tank/tank
line diff
     1.1 --- a/tank/tank	Fri Mar 09 00:06:01 2012 +0100
     1.2 +++ b/tank/tank	Fri Mar 09 00:23:04 2012 +0100
     1.3 @@ -97,21 +97,21 @@
     1.4  	up-www|-uw)
     1.5  		# Update website from repo.
     1.6  		echo -e "\nUpdating: www.slitaz.org..."
     1.7 -		cd $WEBSITE && hg pull && hg update
     1.8 +		cd $WEBSITE && hg pull -u
     1.9  		echo "" ;;
    1.10  	up-tank|-ut)
    1.11  		# Update Tank web interface: http://tank.slitaz.org/
    1.12  		echo -e "\nUpdating: tank.slitaz.org..."
    1.13  		cd $REPOS/slitaz-forge
    1.14 -		hg update
    1.15 -		rm -rf $VHOST/*.* $VHOST/pics/website $VHOST/images
    1.16 +		hg pull -u
    1.17 +		rm -rf $VHOST/*.* $VHOST/images
    1.18  		cp -a tank/web/* $VHOST 
    1.19  		echo "" ;;
    1.20  	up-people|-up)
    1.21  		# Update People web interface: http://people.slitaz.org/
    1.22  		echo -e "\nUpdating: people.slitaz.org..."
    1.23  		cd $REPOS/slitaz-forge
    1.24 -		hg update
    1.25 +		hg pull -u
    1.26  		rm -rf $WWW/people/*
    1.27  		cp -a people/* $WWW/people 
    1.28  		echo "" ;;
    1.29 @@ -119,7 +119,7 @@
    1.30  		# Update Web Boot interface: http://boot.slitaz.org/
    1.31  		echo -e "\nUpdating: boot.slitaz.org..."
    1.32  		cd $REPOS/slitaz-forge
    1.33 -		hg update
    1.34 +		hg pull -u
    1.35  		rm -rf $WWW/boot/*
    1.36  		cp -a boot/* $WWW/boot 
    1.37  		echo "" ;;
    1.38 @@ -128,14 +128,14 @@
    1.39  		# the cooking package is unbuildable because it uses the new Tazwok function
    1.40  		# with mercurial|*
    1.41  		echo -e "\nUpdating Mercurial template..."
    1.42 -		cd $REPOS/slitaz-dev-tools && hg up
    1.43 +		cd $REPOS/slitaz-dev-tools && hg pull -u
    1.44  		cp -a slitaz-mercurial-style/* $PYTHON_LIB/site-packages/mercurial
    1.45  		chown -R root.root $PYTHON_LIB/site-packages/mercurial/templates
    1.46  		echo "" ;;
    1.47  	up-doc|-ud)
    1.48  		# Update Wiki doc template from Hg: http://doc.slitaz.org/
    1.49  		echo -e "\nUpdating Wiki documentation template..."
    1.50 -		cd $REPOS/slitaz-forge && hg up
    1.51 +		cd $REPOS/slitaz-forge && hg pull -u
    1.52  		cp -a doc/lib/tpl/* $DOC_LIB/tpl
    1.53  		echo "" ;;
    1.54  	up-stats|-us)