From 0ec6be9e14b2545a550cf5cfeed4638b6c3cab2f Mon Sep 17 00:00:00 2001 From: egvimo Date: Fri, 11 Dec 2020 13:23:00 +0000 Subject: [PATCH] Improve installation conditions --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index a024961f..b9ea5c68 100755 --- a/install.sh +++ b/install.sh @@ -147,7 +147,7 @@ if ! [[ $silent ]] && ! [[ $no_modify_config ]]; then done fi - while ! [ $silent ]; do + while ! [ $append_to_config ]; do read -e -n 1 -r -p "Would you like to keep your $CONFIG_FILE and append bash-it templates at the end? [y/N] " choice case $choice in [yY]) @@ -163,7 +163,7 @@ if ! [[ $silent ]] && ! [[ $no_modify_config ]]; then ;; esac done -elif [[ $silent ]] && [[ $append_to_config ]]; then +elif [[ $append_to_config ]]; then # backup/append backup_append elif [[ $silent ]] && ! [[ $no_modify_config ]]; then