From 8527fddb7a7e67f64642d1f8081ccaafd3f20a0a Mon Sep 17 00:00:00 2001 From: Johannes Knopp Date: Thu, 19 Dec 2024 13:05:59 +0100 Subject: [PATCH] fix install script --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1912695..3e11e57 100755 --- a/install.sh +++ b/install.sh @@ -8,8 +8,9 @@ create_symlink() { local source=$1 local target=$2 - if [ -ne "$target" ]; then + if [ ! -e "$target" ]; then ln -s "$source" "$target" + echo "Added symlink $source -> $target" fi }