From 32a61df1799f81f678c1205fd5fd6e8cbc136684 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Sun, 13 Aug 2023 11:38:11 +0200 Subject: [PATCH] Updates --- 1-install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/1-install.sh b/1-install.sh index 6005a46..f0f8eb3 100755 --- a/1-install.sh +++ b/1-install.sh @@ -160,11 +160,13 @@ _installSymLink() { else if [ -d ${symlink} ]; then echo "Directory ${symlink}/ exists." - rm -r ${symlink} + rm -r ${symlink}/ + ln -s ${linksource} ${linktarget} else if [ -f ${symlink} ]; then echo "File ${symlink} exists." rm ${symlink} + ln -s ${linksource} ${linktarget} else ln -s ${linksource} ${linktarget} echo "Link ${linksource} -> ${linktarget} created."