Improve installation conditions
parent
5e24d05ff2
commit
0ec6be9e14
|
|
@ -147,7 +147,7 @@ if ! [[ $silent ]] && ! [[ $no_modify_config ]]; then
|
||||||
done
|
done
|
||||||
fi
|
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
|
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
|
case $choice in
|
||||||
[yY])
|
[yY])
|
||||||
|
|
@ -163,7 +163,7 @@ if ! [[ $silent ]] && ! [[ $no_modify_config ]]; then
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
elif [[ $silent ]] && [[ $append_to_config ]]; then
|
elif [[ $append_to_config ]]; then
|
||||||
# backup/append
|
# backup/append
|
||||||
backup_append
|
backup_append
|
||||||
elif [[ $silent ]] && ! [[ $no_modify_config ]]; then
|
elif [[ $silent ]] && ! [[ $no_modify_config ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue