slitaz-forge rev 686

pangolin: up utility to use tazcraft repo (better)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 19 23:43:06 2017 +0100 (2017-03-19)
parents d720d2c157eb
children c586893082d2
files pangolin/pangolin
line diff
     1.1 --- a/pangolin/pangolin	Sun Mar 19 23:40:34 2017 +0100
     1.2 +++ b/pangolin/pangolin	Sun Mar 19 23:43:06 2017 +0100
     1.3 @@ -103,9 +103,10 @@
     1.4  		cd ${REPOS}/slitaz-forge && hg update
     1.5  		cp -rf play.slitaz.me/* ${WWW}/play.slitaz.me/public_html
     1.6  		# Tazcraft
     1.7 +		root="${WWW}/play.slitaz.me/public_html/tazcraft"
     1.8  		cd ${REPOS}/tazcraft && hg update
     1.9 -		rm -rf ${WWW}/play.slitaz.me/public_html/tazcraft
    1.10 -		cp -rf tazcraft/web ${WWW}/play.slitaz.me/public_html/tazcraft
    1.11 +		rm -rf ${root}
    1.12 +		cp -rf web ${root}
    1.13  		make install-server
    1.14  		newline ;;
    1.15