Update install.sh

change order of first pulling docker images
This commit is contained in:
Gyorgy Berenyi
2024-02-09 12:26:29 +00:00
parent 2299c902ca
commit b7bc62f503

View File

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