Merge pull request #180 from ronivay/chore/unify-y-n-case-answers
chore: remove redundant answer options and rely on wildcard instead
This commit is contained in:
@@ -618,7 +618,6 @@ function PrepInstall {
|
||||
if [[ "$INTERACTIVE" == "true" ]]; then
|
||||
printinfo "No changes to $XO_SVC_DESC since previous install. Run update anyway?"
|
||||
read -r -p "[y/N]: " answer
|
||||
answer="${answer:-n}"
|
||||
case "$answer" in
|
||||
y)
|
||||
:
|
||||
@@ -1374,9 +1373,6 @@ function CheckMemory {
|
||||
y)
|
||||
:
|
||||
;;
|
||||
n)
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
exit 0
|
||||
;;
|
||||
@@ -1400,9 +1396,6 @@ function CheckDiskFree {
|
||||
y)
|
||||
:
|
||||
;;
|
||||
n)
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
exit 0
|
||||
;;
|
||||
@@ -1508,9 +1501,6 @@ function StartUpScreen {
|
||||
exit 1
|
||||
}
|
||||
;;
|
||||
n)
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
exit 0
|
||||
;;
|
||||
|
Reference in New Issue
Block a user