Update install.sh
change order of first pulling docker images
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user