Update docker-install.sh

This commit is contained in:
tteckster 2022-08-23 13:57:59 -04:00 committed by GitHub
parent b11d161c30
commit 3cce666e4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"