improve check for auth.docker.io

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2025-01-17 13:52:33 +01:00
parent 1630867fb3
commit 1ad0fcf1b6

View file

@ -285,7 +285,7 @@ fi
# Check if auth.docker.io is reachable # Check if auth.docker.io is reachable
# Solves issues like https://github.com/nextcloud/all-in-one/discussions/5268 # Solves issues like https://github.com/nextcloud/all-in-one/discussions/5268
if ! curl https://auth.docker.io/token | grep -q token; then if ! curl https://auth.docker.io/token 2>&1 | grep -q token; then
print_red "Could not reach https://auth.docker.io." print_red "Could not reach https://auth.docker.io."
echo "Most likely is something blocking access to it." echo "Most likely is something blocking access to it."
echo "You should be able to fix this by using https://github.com/nextcloud/all-in-one/tree/main/manual-install" echo "You should be able to fix this by using https://github.com/nextcloud/all-in-one/tree/main/manual-install"