Working
This commit is contained in:
parent
deca83b4b3
commit
1b2b84ea27
|
@ -41,8 +41,7 @@ yes_no_ask_required() {
|
||||||
|
|
||||||
yes_no_ask() {
|
yes_no_ask() {
|
||||||
echo_green_n $1 "[Y/n]"
|
echo_green_n $1 "[Y/n]"
|
||||||
read -n 1 answer
|
read -n answer
|
||||||
echo_green '\b '
|
|
||||||
if ! [[ "$answer" == "N" ]] && ! [[ "$answer" == "n" ]]; then
|
if ! [[ "$answer" == "N" ]] && ! [[ "$answer" == "n" ]]; then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
|
@ -63,7 +62,7 @@ install() {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Distribution not recognized, can't install $1."
|
echo_red "Distribution not recognized, can't install $1."
|
||||||
}
|
}
|
||||||
|
|
||||||
git_clone() {
|
git_clone() {
|
||||||
|
|
Loading…
Reference in New Issue