clockwerk-tools – Diff between revs 19 and 20

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 19 Rev 20
Line 81... Line 81...
81 cd ../clockwerk-www/ 81 cd ../clockwerk-www/
82 svn update 82 svn update
83 dialog --yesno "This option will update the Clockwerk's OpenSim website pages. These pages are the ones that you see when logging-in to the Clockwerk and allow the web-based management of the Clockwerk. If you have made changes to the pages located in /var/www, you should make a backup and say yes. Do you want to upgrade the Clockwerk website pages?" 10 70 83 dialog --yesno "This option will update the Clockwerk's OpenSim website pages. These pages are the ones that you see when logging-in to the Clockwerk and allow the web-based management of the Clockwerk. If you have made changes to the pages located in /var/www, you should make a backup and say yes. Do you want to upgrade the Clockwerk website pages?" 10 70
84 if [ $? == "0" ]; then 84 if [ $? == "0" ]; then
85 echo "[Clockwerk] Updating website..." 85 echo "[Clockwerk] Updating website..."
86 find bin/ -name \*.php -o -name \*.js -exec rm -rf '{}' \; 86 find /var/www/ -name \*.php -o -name \*.js -exec rm -rf '{}' \;
87 cp -R * /var/www/ 87 cp -R * /var/www/
88 echo "[Clockwerk] Changing permissions..." 88 echo "[Clockwerk] Changing permissions..."
89 chown -R www-data:www-data /var/www 89 chown -R www-data:www-data /var/www
90 service lighttpd restart 90 service lighttpd restart
91 fi 91 fi