summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 4d1eb5b..d4d168a 100755
--- a/install.sh
+++ b/install.sh
@@ -17,7 +17,7 @@ else
if [ ! -e "$target" ] || [ -L "$target" ]; then
# target either doesn't exist or is a symbolic link and can thus be
# safely replaced
- ln -sf "$origin" "$target"
+ ln -sfn "$origin" "$target"
elif [ -d "$target" ]; then
# target is not a symbolic link, but a directory, thus we link
# everything into that directory instead