opensim-tools – Diff between revs 33 and 34

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 33 Rev 34
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/www, you should make a backup and say yes. Do you want to upgrade the Spectacled Owl website pages?" 10 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/www
48 service lighttpd restart 48 service lighttpd restart
49 fi 49 fi
50 fi 50 fi
51 popd 51 popd
52 dialog --yesno "The Spectacled Owl uses a few shell scripts that manage the virtual machine. These tools can be found in the opensim-tools/lib directory and when you run this script they are updated and copied into the filesystem. A safe answer would be yes since they make-up for the core functionality of the Spectacled Owl. Do you want to deploy the Spectacled Owl tools?" 10 70 52 dialog --yesno "The Spectacled Owl uses a few shell scripts that manage the virtual machine. These tools can be found in the opensim-tools/lib directory and when you run this script they are updated and copied into the filesystem. A safe answer would be yes since they make-up for the core functionality of the Spectacled Owl. Do you want to deploy the Spectacled Owl tools?" 10 70