diff options
Diffstat (limited to 'bin/install-as-user')
-rwxr-xr-x | bin/install-as-user | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/install-as-user b/bin/install-as-user index 99eca0b82..502cf0e3e 100755 --- a/bin/install-as-user +++ b/bin/install-as-user @@ -53,7 +53,9 @@ fi REPOSITORY="$DIRECTORY/fixmystreet" LINK_DESTINATION="$HOME/fixmystreet" -ln -sfn "$REPOSITORY" $LINK_DESTINATION +if [ "$REPOSITORY" != "$LINK_DESTINATION" ]; then + ln -sfn "$REPOSITORY" $LINK_DESTINATION +fi cd "$REPOSITORY" if [ ! "$DEVELOPMENT_INSTALL" = true ]; then |