From f54dada1b5aeaddcf92bf63ebd375c1d804ca28e Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Sun, 13 Aug 2023 11:58:04 +0200 Subject: [PATCH] Updates --- 1-install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/1-install.sh b/1-install.sh index 6880be6..2593c43 100755 --- a/1-install.sh +++ b/1-install.sh @@ -24,7 +24,11 @@ echo " " echo "by Stephan Raabe (2023)" echo "-------------------------------------" echo "" - +echo "The script will not remove any folders or files." +echo "Symbolic links will be created instead if the folder or files doesn't exists." +echo "If you want to overwrite your configuration please remove the correspondig folder in your .config first." +echo "(For example ~/.config/qtile, etc.)" +echo "" while true; do read -p "DO YOU WANT TO START THE INSTALLATION NOW? (Yy/Nn): " yn case $yn in @@ -160,12 +164,10 @@ _installSymLink() { else if [ -d ${symlink} ]; then echo "Directory ${symlink}/ exists." - 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}