mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-06-25 00:07:07 +10:00
Update installbeta.sh
This commit is contained in:
+3
-3
@@ -110,7 +110,7 @@ execute_commands() {
|
|||||||
curl -fsSL https://test.docker.com | sh
|
curl -fsSL https://test.docker.com | sh
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "${WARN} Unknown option: $option"
|
echo "WARN Unknown option: $option"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@@ -122,8 +122,8 @@ echo "INFO Starting the installation process..."
|
|||||||
# Get user selections
|
# Get user selections
|
||||||
selected_options=$(get_user_selection)
|
selected_options=$(get_user_selection)
|
||||||
|
|
||||||
# Convert selected options into an array (splitting by spaces)
|
# Convert selected options into an array (splitting by spaces)
|
||||||
IFS=' ' read -r -a options <<< "$selected_options"
|
IFS='\n' read -r -a options <<< "$selected_options"
|
||||||
|
|
||||||
# Execute commands based on selections
|
# Execute commands based on selections
|
||||||
execute_commands "${options[@]}"
|
execute_commands "${options[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user