diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-09 14:20:23 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-09 14:20:23 +0200 |
commit | cb38e87306cde54144867ef7141682fc7fad0980 (patch) | |
tree | 7c4ccbf2d59fd3624a1f08cda4fd1712566e272e /app | |
parent | c5ec50dc1a70671bd20a9d9dac78ddfd297397be (diff) | |
download | app.sh-cb38e87306cde54144867ef7141682fc7fad0980.tar.gz app.sh-cb38e87306cde54144867ef7141682fc7fad0980.tar.bz2 app.sh-cb38e87306cde54144867ef7141682fc7fad0980.tar.xz app.sh-cb38e87306cde54144867ef7141682fc7fad0980.zip |
o ln -f didn't work.
Diffstat (limited to 'app')
-rwxr-xr-x | app | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 } |