Working
This commit is contained in:
parent
deca83b4b3
commit
1b2b84ea27
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue