clockwerk-tools

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 20  →  ?path2? @ 21
/lib/upgrade-clockwerk
@@ -83,7 +83,7 @@
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
if [ $? == "0" ]; then
echo "[Clockwerk] Updating website..."
find /var/www/ -name \*.php -o -name \*.js -exec rm -rf '{}' \;
find /var/www/ -name \*.php -o -name \*.js -o -name \*.css -exec rm -rf '{}' \;
cp -R * /var/www/
echo "[Clockwerk] Changing permissions..."
chown -R www-data:www-data /var/www