mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-06-15 11:14:24 +10:00
Made an option to install docker or not
This commit is contained in:
+7
-3
@@ -25,9 +25,13 @@ sudo apt install -y git-core zsh curl git build-essential
|
||||
# Do not print commands
|
||||
set +x
|
||||
|
||||
# Install docker
|
||||
curl -fsSL https://get.docker.com -o get-docker.sh
|
||||
sh get-docker.sh
|
||||
read -p "Run get-docker.sh? [Y/N]: " -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||
# Install docker
|
||||
curl -fsSL https://get.docker.com -o get-docker.sh
|
||||
sh get-docker.sh
|
||||
fi
|
||||
|
||||
# Install Homebrew
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
|
||||
Reference in New Issue
Block a user