fix install script
This commit is contained in:
parent
0d7f457cee
commit
daba146729
|
@ -18,11 +18,11 @@ init() {
|
||||||
UNDERLINE=$(tput smul)
|
UNDERLINE=$(tput smul)
|
||||||
}
|
}
|
||||||
|
|
||||||
comfirm() {
|
confirm() {
|
||||||
echo -en "[${GREEN}y${NORMAL}/${RED}n${NORMAL}]: "
|
echo -en "[${GREEN}y${NORMAL}/${RED}n${NORMAL}]: "
|
||||||
read -n 1 -r
|
read -n 1 -r
|
||||||
echo
|
echo
|
||||||
if [[ $REPLY =~ ^[Nn]$ ]]
|
if [[ ! $REPLY =~ ^[Yy]$ ]]
|
||||||
then
|
then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue