From 07078b01b8fb3dc3dd15e11e22efa4753304017f Mon Sep 17 00:00:00 2001 From: alvinlollo <143326475+alvinlollo@users.noreply.github.com> Date: Mon, 14 Apr 2025 16:23:25 +1000 Subject: [PATCH] Update installbeta.sh --- installbeta.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installbeta.sh b/installbeta.sh index dfcd890..022f16a 100644 --- a/installbeta.sh +++ b/installbeta.sh @@ -110,7 +110,7 @@ execute_commands() { curl -fsSL https://test.docker.com | sh ;; *) - echo "${WARN} Unknown option: $option" + echo "WARN Unknown option: $option" ;; esac done @@ -122,8 +122,8 @@ echo "INFO Starting the installation process..." # Get user selections selected_options=$(get_user_selection) -# Convert selected options into an array (splitting by spaces) -IFS=' ' read -r -a options <<< "$selected_options" +# Convert selected options into an array (splitting by spaces) +IFS='\n' read -r -a options <<< "$selected_options" # Execute commands based on selections execute_commands "${options[@]}"