make question prompt less confusing :) https://mastodon.green/@funkybuddha/110804357880667083
This commit is contained in:
parent
1df2526d35
commit
601d5ba1f3
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue