diff options
Diffstat (limited to '')
-rwxr-xr-x | InstallItAll.sh | 8 |
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 | ||
89 | for dir in AssetFiles backups caches config db logs | 89 | for dir in AssetFiles backups caches config db logs |
90 | do | 90 | do |
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 | ||
94 | done | 96 | done |
95 | 97 | ||
96 | sudo chmod ug+rwx $OSPATH/config | 98 | sudo chmod ug+rwx $OSPATH/config |