clockwerk-tools – Diff between revs 5 and 6
?pathlinks?
Rev 5 | Rev 6 | |||
---|---|---|---|---|
Line 71... | Line 71... | |||
71 | svn update |
71 | svn update |
|
72 | 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 |
72 | 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 |
|
73 | if [ $? == "0" ]; then |
73 | if [ $? == "0" ]; then |
|
74 | echo "[Clockwerk] Updating configuration..." |
74 | echo "[Clockwerk] Updating configuration..." |
|
75 | cp -Ra * /srv/opensim/ |
75 | cp -Ra * /srv/opensim/ |
|
- | 76 | echo "[Clockwerk] Changing ownership..." |
||
- | 77 | chown -R opensim:opensim /srv/opensim/ |
||
76 | mysql -u debian-sys-maint -pvu9VYfFIcb0qcRVC -D opensim -e "delete from assets where id='00000000-0000-1111-9999-000000000010'" |
78 | mysql -u debian-sys-maint -pvu9VYfFIcb0qcRVC -D opensim -e "delete from assets where id='00000000-0000-1111-9999-000000000010'" |
|
77 | mysql -u debian-sys-maint -pvu9VYfFIcb0qcRVC -D opensim -e "delete from assets where id='00000000-0000-1111-9999-000000000011'" |
79 | mysql -u debian-sys-maint -pvu9VYfFIcb0qcRVC -D opensim -e "delete from assets where id='00000000-0000-1111-9999-000000000011'" |
|
78 | mysql -u debian-sys-maint -pvu9VYfFIcb0qcRVC -D opensim -e "delete from assets where id='00000000-0000-1111-9999-000000000012'" |
80 | mysql -u debian-sys-maint -pvu9VYfFIcb0qcRVC -D opensim -e "delete from assets where id='00000000-0000-1111-9999-000000000012'" |
|
79 | fi |
81 | fi |
|
80 | fi |
82 | fi |
|
Line 83... | Line 85... | |||
83 | svn update |
85 | svn update |
|
84 | 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 |
86 | 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 |
|
85 | if [ $? == "0" ]; then |
87 | if [ $? == "0" ]; then |
|
86 | echo "[Clockwerk] Updating website..." |
88 | echo "[Clockwerk] Updating website..." |
|
87 | cp -R * /var/www/ |
89 | cp -R * /var/www/ |
|
- | 90 | echo "[Clockwerk] Changing permissions..." |
||
88 | chown -R www-data:www-data /var/www |
91 | chown -R www-data:www-data /var/www |
|
89 | service lighttpd restart |
92 | service lighttpd restart |
|
90 | fi |
93 | fi |
|
91 | fi |
94 | fi |
|
92 | popd |
95 | popd |