From e5e6e83488baaa48b73c30ea65727503c3f75204 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Sat, 3 Aug 2024 03:57:04 +0200 Subject: [PATCH] fix(setup): fix check for symlink --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 76b1faa..4826c04 100755 --- a/setup.sh +++ b/setup.sh @@ -130,7 +130,7 @@ create_symlink() { mkdir -p "$dst_parent" fi - if test -s "$dst"; then + if test -L "$dst"; then if $IGNORE_EXISTING; then remove_symlink "$2" else