aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapp5
1 files changed, 3 insertions, 2 deletions
diff --git a/app b/app
index 55aa74d..e52e61d 100755
--- a/app
+++ b/app
@@ -235,7 +235,8 @@ method_install() {
)
echo "Changing current symlink"
- ln -f -s versions/$resolved_version/root $name/$instance/current
+ rm -f $BASEDIR/$name/$instance/current
+ ln -s versions/$resolved_version/root $BASEDIR/$name/$instance/current
(
cd $name/$instance/current
@@ -571,7 +572,7 @@ method_set_current() {
exit 1
fi
- ln -f -s versions/$version/root $BASEDIR/$name/$instance/current
+ ln -s versions/$version/root $BASEDIR/$name/$instance/current
return 0
}