mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-06-15 03:04:26 +10:00
Fixed docker install script
This commit is contained in:
+4
-7
@@ -46,8 +46,8 @@ log_message() {
|
|||||||
|
|
||||||
# Function to present options and get user selection
|
# Function to present options and get user selection
|
||||||
get_user_selection() {
|
get_user_selection() {
|
||||||
local options=("Homebrew" "Oh-My-Zsh" "GEF" "apt Packages" "Casa Os" "Extra scripts")
|
local options=("Homebrew" "Oh-My-Zsh" "GEF" "apt Packages" "Casa Os" "Docker")
|
||||||
local descriptions=("Installs homebrew using their install script" "Installs Oh-My-Zsh with plugins and configurations" "Installs GEF (https://github.com/hugsy/gef)" "Installs packages and utilities" "Installs CasaOs using install script" "Installs extra scripts see readme")
|
local descriptions=("Installs homebrew using their install script" "Installs Oh-My-Zsh with plugins and configurations" "Installs GEF (https://github.com/hugsy/gef)" "Installs packages and utilities" "Installs CasaOs using install script" "Installs Docker with install script")
|
||||||
local selections=()
|
local selections=()
|
||||||
local choice
|
local choice
|
||||||
|
|
||||||
@@ -138,11 +138,8 @@ execute_commands() {
|
|||||||
log_message "${INFO} Executing commands for Casa Os"
|
log_message "${INFO} Executing commands for Casa Os"
|
||||||
curl -fsSL https://get.casaos.io | sudo bash
|
curl -fsSL https://get.casaos.io | sudo bash
|
||||||
;;
|
;;
|
||||||
"Extra scripts")
|
"Docker")
|
||||||
# Add an update-all script
|
curl -fsSL https://test.docker.com | sh
|
||||||
sudo rm -f /usr/local/bin/update-all
|
|
||||||
sudo curl -fsSL https://raw.githubusercontent.com/alvinlollo/Single-install-script/refs/heads/main/extras/update-all%20script -o /usr/local/bin/update-all
|
|
||||||
sudo chmod +x /usr/local/bin/update-all
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
log_message "${WARN} Unknown option: $option"
|
log_message "${WARN} Unknown option: $option"
|
||||||
|
|||||||
Reference in New Issue
Block a user