diff --git a/setup.sh b/setup.sh index 93af027..eacba0d 100755 --- a/setup.sh +++ b/setup.sh @@ -14,8 +14,16 @@ link() local dst="$2" if test -e "$dst" && ! test -L "$dst"; then - echo "No symlink $dst" - exit 1 + echo "File $dst exists and is no symlink.\nIgnore and continue? (y/N)" + read answer + case $answer in + [Yy]*) + return + ;; + *) + exit 1 + ;; + esac fi if installed printf; then