From b7bc62f5033635e0e410afee55115729c1b68d03 Mon Sep 17 00:00:00 2001 From: Gyorgy Berenyi Date: Fri, 9 Feb 2024 12:26:29 +0000 Subject: [PATCH] Update install.sh change order of first pulling docker images --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 349166b..3442360 100644 --- a/install.sh +++ b/install.sh @@ -665,9 +665,6 @@ if [ "$DOCKER_REGISTRY_URL" == "" ]; then DOCKER_REGISTRY_URL="registry.format.hu"; fi -$SUDO_CMD docker pull $DOCKER_REGISTRY_URL/installer-tool -$SUDO_CMD docker pull $DOCKER_REGISTRY_URL/setup - # first install if [ ! -f "/etc/user/config/system.json" ]; then @@ -744,6 +741,10 @@ if [ ! -f "/etc/user/config/system.json" ]; then --env LETSENCRYPT_MAIL=$LETSENCRYPT_MAIL \ --env LETSENCRYPT_SERVERNAME=$LETSENCRYPT_SERVERNAME \ $DOCKER_REGISTRY_URL/installer-tool +else + + $SUDO_CMD docker pull $DOCKER_REGISTRY_URL/installer-tool + $SUDO_CMD docker pull $DOCKER_REGISTRY_URL/setup fi;