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
|
if [[ "$INTERACTIVE" == "true" ]]; then
|
||||||
printinfo "No changes to $XO_SVC_DESC since previous install. Run update anyway?"
|
printinfo "No changes to $XO_SVC_DESC since previous install. Run update anyway?"
|
||||||
read -r -p "[y/N]: " answer
|
read -r -p "[y/N]: " answer
|
||||||
answer="${answer:-n}"
|
|
||||||
case "$answer" in
|
case "$answer" in
|
||||||
y)
|
y)
|
||||||
:
|
:
|
||||||
@@ -1374,9 +1373,6 @@ function CheckMemory {
|
|||||||
y)
|
y)
|
||||||
:
|
:
|
||||||
;;
|
;;
|
||||||
n)
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
@@ -1400,9 +1396,6 @@ function CheckDiskFree {
|
|||||||
y)
|
y)
|
||||||
:
|
:
|
||||||
;;
|
;;
|
||||||
n)
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
@@ -1508,9 +1501,6 @@ function StartUpScreen {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
;;
|
;;
|
||||||
n)
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user