diff --git a/install.sh b/install.sh index 5067763..8c8aab8 100755 --- a/install.sh +++ b/install.sh @@ -18,11 +18,11 @@ init() { UNDERLINE=$(tput smul) } -comfirm() { +confirm() { echo -en "[${GREEN}y${NORMAL}/${RED}n${NORMAL}]: " read -n 1 -r echo - if [[ $REPLY =~ ^[Nn]$ ]] + if [[ ! $REPLY =~ ^[Yy]$ ]] then exit 0 fi