chore: remove redundant answer options and rely on wildcard instead

This commit is contained in:
Roni Väyrynen
2023-03-22 10:40:14 +02:00
parent f0d1a60ef8
commit 4d7818a9fc

View File

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