slitaz-forge rev 297
cook: add cross/header.html and up tank
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 13 00:16:49 2012 +0200 (2012-05-13) |
parents | 763937cdc4dc |
children | 03ccc52b83f9 |
files | cook/cross/header.html cook/header.html tank/tank |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cook/cross/header.html Sun May 13 00:16:49 2012 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +<!DOCTYPE html> 1.5 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.6 +<head> 1.7 + <title>SliTaz Cross Cooker</title> 1.8 + <meta charset="utf-8" /> 1.9 + <link rel="shortcut icon" href="favicon.ico" /> 1.10 + <link rel="stylesheet" type="text/css" href="style.css" /> 1.11 +</head> 1.12 +<body> 1.13 + 1.14 +<div id="header"> 1.15 + <div id="logo"></div> 1.16 + <div id="network"> 1.17 + <a href="http://www.slitaz.org/">Home</a> 1.18 + <a href="http://forum.slitaz.org/">Forum</a> 1.19 + <a href="http://bugs.slitaz.org/">Bugs</a> 1.20 + <a href="http://tank.slitaz.org/">Tank</a> 1.21 + <a href="http://hg.slitaz.org/wok/">Hg</a> 1.22 + <a href="http://roadmap.slitaz.org/">Roadmap</a> 1.23 + <a href="http://cook.slitaz.org/">Cook</a> 1.24 + <a href="/cross">Cross</a>: 1.25 + <a href="/cross/arm">arm</a> 1.26 + <!-- <a href="/cross/x86_64">x86_64</a> --> 1.27 + </div> 1.28 + <h1><a href="/">SliTaz Cooker</a></h1> 1.29 +</div> 1.30 + 1.31 +<!-- Content --> 1.32 +<div id="content"> 1.33 +
2.1 --- a/cook/header.html Sat May 12 23:32:22 2012 +0200 2.2 +++ b/cook/header.html Sun May 13 00:16:49 2012 +0200 2.3 @@ -18,7 +18,7 @@ 2.4 <a href="http://tank.slitaz.org/">Tank</a> 2.5 <a href="http://hg.slitaz.org/wok/">Hg</a> 2.6 <a href="http://roadmap.slitaz.org/">Roadmap</a> 2.7 - <a href="http://cook.slitaz.org/">Cook:</a> 2.8 + <a href="http://cook.slitaz.org/">Cook</a>: 2.9 <a href="/cross">Cross</a> 2.10 <a href="cookiso.cgi">ISO</a> 2.11 <a href="/stable/">Stable</a>
3.1 --- a/tank/tank Sat May 12 23:32:22 2012 +0200 3.2 +++ b/tank/tank Sun May 13 00:16:49 2012 +0200 3.3 @@ -21,7 +21,7 @@ 3.4 backup|-b Backup files and MySQL DB 3.5 adduser Add user on Tank and create people files 3.6 up-stats Update Awstats statistics (run by cron) 3.7 - 3.8 + 3.9 up-tank Update http://tank.slitaz.org/ 3.10 up-people Update http://people.slitaz.org/ 3.11 up-pro Update http://pro.slitaz.org/ 3.12 @@ -42,7 +42,7 @@ 3.13 cd $REPOS/slitaz-forge 3.14 [ "$2" == "--nohg" ] || hg pull -u 3.15 rm -rf $VHOST/*.* $VHOST/images 3.16 - cp -a tank/web/* $VHOST 3.17 + cp -a tank/web/* $VHOST 3.18 echo "" ;; 3.19 up-people) 3.20 # Update People web interface 3.21 @@ -50,7 +50,7 @@ 3.22 cd $REPOS/slitaz-forge 3.23 [ "$2" == "--nohg" ] || hg pull -u 3.24 rm -rf $WWW/people/* 3.25 - cp -a people/* $WWW/people 3.26 + cp -a people/* $WWW/people 3.27 echo "" ;; 3.28 up-pro) 3.29 # Update Pro website 3.30 @@ -66,24 +66,40 @@ 3.31 cd $REPOS/slitaz-forge 3.32 [ "$2" == "--nohg" ] || hg pull -u 3.33 rm -rf $WWW/boot/* 3.34 - cp -a boot/* $WWW/boot 3.35 + cp -a boot/* $WWW/boot 3.36 echo "" ;; 3.37 up-cook) 3.38 # Update Web Boot interface 3.39 echo -e "\nUpdating: cook.slitaz.org..." 3.40 cd $REPOS/slitaz-forge 3.41 [ "$2" == "--nohg" ] || hg pull -u 3.42 + cd $REPOS/cookutils 3.43 + [ "$2" == "--nohg" ] || hg pull -u 3.44 cp -a cook/* $WWW/cook 3.45 - # we have symlinks to repo 3.46 - #cp -a cook/* $WWW/cook/undigest 3.47 - #cp -a cook/* $WWW/cook/stable 3.48 + # We use symlinks for cooker's 3.49 + cd $WWW/cook && rm -f style.css 3.50 + ln -s $REPOS/cookutils/web/style.css . 3.51 + for web in stable undigest cross/arm 3.52 + do 3.53 + echo "Creating: $web symlinks" 3.54 + cd $WWW/cook/$web 3.55 + for file in style.css cooker.cgi cookiso.cgi 3.56 + do 3.57 + rm -f $file 3.58 + ln -s $REPOS/cookutils/web/$file . 3.59 + done 3.60 + done 3.61 + # No ISO's for undigest and ARM. 3.62 + rm -f \ 3.63 + $WWW/cook/undigest/cookiso.cgi \ 3.64 + $WWW/cook/cross/arm/cookiso.cgi 3.65 echo "" ;; 3.66 up-roadmap) 3.67 # Update Roadmap Web interface 3.68 echo -e "\nUpdating: roadmap.slitaz.org..." 3.69 cd $REPOS/slitaz-forge 3.70 [ "$2" == "--nohg" ] || hg pull -u 3.71 - cp -a roadmap/* $WWW/roadmap 3.72 + cp -a roadmap/* $WWW/roadmap 3.73 echo "" ;; 3.74 up-stats) 3.75 echo -e "\nUpdating all awstats databases..." | tee -a $LOGFILE