opensim-tools – Diff between revs 29 and 30
?pathlinks?
Rev 29 | Rev 30 | |||
---|---|---|---|---|
Line 4... | Line 4... | |||
4 | ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ## |
4 | ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ## |
|
5 | ## rights of fair usage, the disclaimer and warranty conditions. ## |
5 | ## rights of fair usage, the disclaimer and warranty conditions. ## |
|
6 | ########################################################################### |
6 | ########################################################################### |
|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | dialog --msgbox "This tool will upgrade the Spectacled Owl machine." 10 70 |
- | ||
9 | |
8 | dialog --msgbox "This tool will upgrade the Spectacled Owl machine." 10 70 |
|
10 | pushd ./ |
9 | pushd ./ |
|
11 | if [ -d ../opensim-sources/ ]; then |
10 | if [ -d ../opensim-sources/ ]; then |
|
12 | cd ../opensim-sources/ |
11 | cd ../opensim-sources/ |
|
13 | echo "[SpectacledOwl] Updating sources..." |
12 | echo "[SpectacledOwl] Updating sources..." |
|
14 | svn update |
13 | svn update |
|
15 | dialog --yesno "By slecting yes here, the OpenSim sources will be updated from the development repository, compiled and added to the current OpenSim working directory. Selecting yes here will not affect any modifications you may have done to OpenSim's ini files. Upgrade the OpenSim binaries to the lastest development version?" 10 70 |
14 | dialog --yesno "By slecting yes here, the OpenSim sources will be updated from the development repository, compiled and added to the current OpenSim working directory. Selecting yes here will not affect any modifications you may have done to OpenSim's ini files. Upgrade the OpenSim binaries to the lastest development version?" 10 70 |
|
16 | if [ ?$ == "0" ]; then |
15 | if [ $? == "0" ]; then |
|
17 | echo "[SpectacledOwl] Cleaning..." |
16 | echo "[SpectacledOwl] Cleaning..." |
|
18 | PKG_CONFIG_PATH=/opt/mono-4-0/lib/pkgconfig make clean |
17 | PKG_CONFIG_PATH=/opt/mono-4-0/lib/pkgconfig make clean |
|
19 | echo "[SpectacledOwl] Build..." |
18 | echo "[SpectacledOwl] Build..." |
|
20 | PKG_CONFIG_PATH=/opt/mono-4-0/lib/pkgconfig make |
19 | PKG_CONFIG_PATH=/opt/mono-4-0/lib/pkgconfig make |
|
Line 26... | Line 25... | |||
26 | cp -Ra bin/* /home/opensim/os/ |
25 | cp -Ra bin/* /home/opensim/os/ |
|
27 | echo "[SpectacledOwl] Changing ownership..." |
26 | echo "[SpectacledOwl] Changing ownership..." |
|
28 | chown -R opensim:opensim /home/opensim/os/ |
27 | chown -R opensim:opensim /home/opensim/os/ |
|
29 | fi |
28 | fi |
|
30 | fi |
29 | 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 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 |
|
35 | if [ $? == "0" ]; then |
35 | if [ $? == "0" ]; then |