fix install script

This commit is contained in:
Frost-Phoenix 2024-04-17 13:00:27 +02:00
parent 0d7f457cee
commit daba146729

View file

@ -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