diff --git a/tforgione.sh b/tforgione.sh index 353b626..b745876 100755 --- a/tforgione.sh +++ b/tforgione.sh @@ -41,8 +41,7 @@ yes_no_ask_required() { yes_no_ask() { echo_green_n $1 "[Y/n]" - read -n 1 answer - echo_green '\b ' + read -n answer if ! [[ "$answer" == "N" ]] && ! [[ "$answer" == "n" ]]; then return 0 else @@ -63,7 +62,7 @@ install() { return fi - echo "Distribution not recognized, can't install $1." + echo_red "Distribution not recognized, can't install $1." } git_clone() {