This commit is contained in:
Marcus 2023-07-31 20:36:39 +02:00
parent 1df2526d35
commit 601d5ba1f3

View file

@ -96,9 +96,9 @@ error ()
confirm_continue() confirm_continue()
{ {
message warn "Type '${GREEN}yes${ENDCOLOR}' and hit [ENTER] to continue" message warn "Type '${GREEN}y${ENDCOLOR}' or '${GREEN}yes${ENDCOLOR}' and hit [ENTER] to continue"
read -p "=> " continue read -p "[y/N?] " continue
if [ "$continue" != "yes" ] if [ "${continue,,}" != "y" ] && [ "${continue,,}" != "yes" ]
then then
message error "Installation aborted." message error "Installation aborted."
exit 1 exit 1