slitaz-forge rev 411
pangolin: add up-forum
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 15 10:16:34 2014 +0100 (2014-01-15) |
parents | c1250f344faf |
children | b28605f7f50e |
files | pangolin/pangolin |
line diff
1.1 --- a/pangolin/pangolin Wed Jan 15 10:08:43 2014 +0100 1.2 +++ b/pangolin/pangolin Wed Jan 15 10:16:34 2014 +0100 1.3 @@ -18,8 +18,9 @@ 1.4 1.5 Usage: $(basename $0) [command] 1.6 Commands: 1.7 - up-www Update website http://www.slitaz.org/ 1.8 - up-hg Update Hg web interface http://hg.slitaz.org/ 1.9 + up-www Update website www.slitaz.org 1.10 + up-forum Update forum.slitaz.org theme 1.11 + up-hg Update Hg web interface hg.slitaz.org 1.12 adduser Add a user to Hg. 1.13 stats Display some server stats. 1.14 backup Backup MySQL DB and files. 1.15 @@ -32,6 +33,11 @@ 1.16 # Update website from repo. 1.17 echo "Updating: www.slitaz.org..." 1.18 cd ${WEBSITE} && hg pull -u ;; 1.19 + up-forum) 1.20 + # Update forum.slitaz.org theme 1.21 + echo "Updating: forum.slitaz.org..." 1.22 + cd ${REPOS}/slitaz-forge && hg up 1.23 + cp -a forum/my-templates ${WWW}/forum.slitaz.org/public_html ;; 1.24 up-hg) 1.25 # Update hg.slitaz.org template. 1.26 echo -e "\nUpdating Mercurial template..."