opensim-tools – Diff between revs 30 and 31

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 30 Rev 31
Line 38... Line 38...
38 fi 38 fi
39 fi 39 fi
40 if [ -d ../opensim-www/ ]; then 40 if [ -d ../opensim-www/ ]; then
41 cd ../opensim-www/ 41 cd ../opensim-www/
42 svn update 42 svn update
43 dialog --yesno "This option will update the Spectacled Owl's OpenSim website pages. These pages are the ones that you see when logging-in to the Spectacled Owl and allow the web-based management of the Spectacled Owl. If you have made changes to the pages located in /var/opensim-www, you should make a backup and say yes. Do you want to upgrade the Spectacled Owl website pages?" 10 70 43 dialog --yesno "This option will update the Spectacled Owl's OpenSim website pages. These pages are the ones that you see when logging-in to the Spectacled Owl and allow the web-based management of the Spectacled Owl. If you have made changes to the pages located in /var/opensim-www, you should make a backup and say yes. Do you want to upgrade the Spectacled Owl website pages?" 12 70
44 if [ $? == "0" ]; then 44 if [ $? == "0" ]; then
45 echo "[SpectacledOwl] Updating website..." 45 echo "[SpectacledOwl] Updating website..."
46 cp -R * /var/www/ 46 cp -R * /var/www/
47 chown -R www-data:www-data /var/opensim-www 47 chown -R www-data:www-data /var/opensim-www
48 service lighttpd restart 48 service lighttpd restart