Update docker-install.sh

pull/462/head
tteckster 2 years ago committed by GitHub
parent b11d161c30
commit 3cce666e4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,7 +83,7 @@ EOF
sh <(curl -sSL https://get.docker.com) &>/dev/null sh <(curl -sSL https://get.docker.com) &>/dev/null
msg_ok "Installed Docker $DOCKER_LATEST_VERSION" msg_ok "Installed Docker $DOCKER_LATEST_VERSION"
read -r -p "Would you like to add Portainer? <y/n> " prompt read -r -p "Would you like to add Portainer? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]] if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]
then then
PORTAINER="Y" PORTAINER="Y"
@ -105,7 +105,7 @@ docker run -d \
msg_ok "Installed Portainer $PORTAINER_LATEST_VERSION" msg_ok "Installed Portainer $PORTAINER_LATEST_VERSION"
fi fi
read -r -p "Would you like to add Docker Compose? <y/n> " prompt read -r -p "Would you like to add Docker Compose? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]] if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]
then then
DOCKER_COMPOSE="Y" DOCKER_COMPOSE="Y"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.