Update docker-install.sh

This commit is contained in:
tteckster 2022-08-23 13:28:14 -04:00 committed by GitHub
parent 3caf5fb5bd
commit b11d161c30
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
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" ]]
then
PORTAINER="Y"
@ -105,7 +105,7 @@ docker run -d \
msg_ok "Installed Portainer $PORTAINER_LATEST_VERSION"
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" ]]
then
DOCKER_COMPOSE="Y"