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)
}
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