aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/InstallItAll.sh
diff options
context:
space:
mode:
Diffstat (limited to 'InstallItAll.sh')
-rwxr-xr-xInstallItAll.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/InstallItAll.sh b/InstallItAll.sh
index 124fd5a..062f111 100755
--- a/InstallItAll.sh
+++ b/InstallItAll.sh
@@ -88,9 +88,11 @@ sudo chmod a+x $OSPATH/current/scripts/start-sim
88 88
89for dir in AssetFiles backups caches config db logs 89for dir in AssetFiles backups caches config db logs
90do 90do
91 sudo cp -fr $dir .. 91 if [ ! -f ../$dir ]; then
92 sudo rm -fr $dir 92 sudo cp -fr $dir ..
93 sudo ln -fs ../$dir $dir 93 sudo rm -fr $dir
94 sudo ln -fs ../$dir $dir
95 fi
94done 96done
95 97
96sudo chmod ug+rwx $OSPATH/config 98sudo chmod ug+rwx $OSPATH/config