fix installer menu

This commit is contained in:
2025-09-10 12:13:59 +02:00
parent 30ae23d75a
commit 7af6a851a0

View File

@@ -103,7 +103,8 @@ options+=("Quit") # Add a Quit option to the menu.
PS3="Please enter your choice: " PS3="Please enter your choice: "
# Display the menu and handle user input. # Display the menu and handle user input.
select choice_with_status in "${options[@]}"; do # Setting COLUMNS=1 forces the select menu to display vertically.
COLUMNS=1 select choice_with_status in "${options[@]}"; do
# Strip the status message from the choice for key lookup # Strip the status message from the choice for key lookup
choice=$(echo "${choice_with_status}" | sed 's/ (.*//') choice=$(echo "${choice_with_status}" | sed 's/ (.*//')
@@ -180,3 +181,4 @@ select choice_with_status in "${options[@]}"; do
;; ;;
esac esac
done done