opensim-tools – Diff between revs 32 and 33
?pathlinks?
Rev 32 | Rev 33 | |||
---|---|---|---|---|
Line 29... | Line 29... | |||
29 | fi |
29 | fi |
|
30 | fi |
30 | fi |
|
31 | if [ -d ../opensim-config/ ]; then |
31 | if [ -d ../opensim-config/ ]; then |
|
32 | cd ../opensim-config/ |
32 | cd ../opensim-config/ |
|
33 | svn update |
33 | svn update |
|
34 | dialog --yesno "This option will update OpenSim's configuration files EXCEPT Regions.ini which will not be touched. It is useful to synchronize OpenSim's configuration files with new options from the development branch. If you have made changes to OpenSim's ini files, a resonable answer will be no. However, at some point you should make a backup and sync with the development version. Update the configuration files now?" 10 70 |
34 | dialog --yesno "This option will update OpenSim's configuration files EXCEPT Regions.ini which will not be overwritten. It is useful to synchronize OpenSim's configuration files with new options from the development branch. If you have made changes to OpenSim's ini files, a resonable answer will be no. However, at some point you should make a backup and sync with the development version. Update the configuration files now?" 12 70 |
|
35 | if [ $? == "0" ]; then |
35 | if [ $? == "0" ]; then |
|
36 | echo "[SpectacledOwl] Updating configuration..." |
36 | echo "[SpectacledOwl] Updating configuration..." |
|
37 | cp -Ra * /home/opensim/os/ |
37 | cp -Ra * /home/opensim/os/ |
|
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?" 12 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?" 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/opensim-www |
|
48 | service lighttpd restart |
48 | service lighttpd restart |