diff options
Diffstat (limited to '')
-rwxr-xr-x | InstallItAll.sh | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/InstallItAll.sh b/InstallItAll.sh index 81ff54f..db6c148 100755 --- a/InstallItAll.sh +++ b/InstallItAll.sh | |||
@@ -6,7 +6,7 @@ MYSQL_DB="InfiniteGrid" | |||
6 | MYSQL_USER="opensim" | 6 | MYSQL_USER="opensim" |
7 | OS_USER="opensim" | 7 | OS_USER="opensim" |
8 | 8 | ||
9 | OSVER="0.8.2.1" | 9 | OSVER="0.9.0.1" |
10 | 10 | ||
11 | 11 | ||
12 | # Figure out where we are, most of this mess is to troll through soft links. | 12 | # Figure out where we are, most of this mess is to troll through soft links. |
@@ -51,7 +51,9 @@ fi | |||
51 | USER=$(whoami) | 51 | USER=$(whoami) |
52 | 52 | ||
53 | echo "Installing software." | 53 | echo "Installing software." |
54 | sudo apt-get install mysql-server tmux mono-complete mono-gmcs nant nunit uuid-runtime monit mc | 54 | sudo apt-get install mysql-server tmux mono-complete mono-gmcs nunit uuid-runtime monit mc |
55 | # nant is done separately, coz it was removed from Debian for some mysterious reason. | ||
56 | sudo apt-get install nant | ||
55 | sudo /etc/init.d/mysql restart | 57 | sudo /etc/init.d/mysql restart |
56 | 58 | ||
57 | echo "Setting up OpenSim users." | 59 | echo "Setting up OpenSim users." |
@@ -70,10 +72,7 @@ sudo adduser --system --shell /bin/false --group $OS_USER | |||
70 | sudo addgroup $USER $OS_USER | 72 | sudo addgroup $USER $OS_USER |
71 | 73 | ||
72 | echo "Building OpenSim." | 74 | echo "Building OpenSim." |
73 | ./runprebuild.sh | 75 | ./BuildIt.sd |
74 | ./nant-color | ||
75 | #xbuild /target:clean | ||
76 | #xbuild /p:TargetFrameworkVersion="v4.5" | ||
77 | 76 | ||
78 | echo "Setting up OpenSim." | 77 | echo "Setting up OpenSim." |
79 | sudo rm -fr $OSPATH/opensim-IG_* | 78 | sudo rm -fr $OSPATH/opensim-IG_* |
@@ -88,9 +87,7 @@ cd current | |||
88 | for dir in AssetFiles backups caches config db logs | 87 | for dir in AssetFiles backups caches config db logs |
89 | do | 88 | do |
90 | if [ ! -f ../$dir ]; then | 89 | if [ ! -f ../$dir ]; then |
91 | sudo cp -fr $dir .. | 90 | sudo cp -fr example/$dir .. |
92 | sudo rm -fr $dir | ||
93 | sudo ln -fs ../$dir $dir | ||
94 | fi | 91 | fi |
95 | done | 92 | done |
96 | 93 | ||
@@ -125,6 +122,4 @@ sudo cp scripts/opensim.tmux.conf /home/$OS_USER/.tmux.conf | |||
125 | sudo chown $USER /home/$OS_USER/.tmux.conf | 122 | sudo chown $USER /home/$OS_USER/.tmux.conf |
126 | sudo chmod 644 /home/$OS_USER/.tmux.conf | 123 | sudo chmod 644 /home/$OS_USER/.tmux.conf |
127 | 124 | ||
128 | sudo scripts/fix_var_run.sh | ||
129 | sudo cat scripts/opensim-crontab.txt | sudo crontab -u $OS_USER - | ||
130 | echo "Done installing OpenSim." | 125 | echo "Done installing OpenSim." |