From 0c924152a72392986646c7453f8af5bd2b6c3c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 25 May 2020 03:21:17 +0200 Subject: [PATCH] Correctly check UPDATE_MODS_ON_START env Closes #323 --- 0.17/files/docker-entrypoint.sh | 2 +- 0.18/files/docker-entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/0.17/files/docker-entrypoint.sh b/0.17/files/docker-entrypoint.sh index 3095e29..ccd7273 100755 --- a/0.17/files/docker-entrypoint.sh +++ b/0.17/files/docker-entrypoint.sh @@ -37,7 +37,7 @@ if [[ $NRTMPSAVES -gt 0 ]]; then rm -f "$SAVES"/*.tmp.zip fi -if [[ ${UPDATE_MODS_ON_START:-} ]]; then +if [[ ${UPDATE_MODS_ON_START:-} == "true" ]]; then ./docker-update-mods.sh fi diff --git a/0.18/files/docker-entrypoint.sh b/0.18/files/docker-entrypoint.sh index 3095e29..ccd7273 100755 --- a/0.18/files/docker-entrypoint.sh +++ b/0.18/files/docker-entrypoint.sh @@ -37,7 +37,7 @@ if [[ $NRTMPSAVES -gt 0 ]]; then rm -f "$SAVES"/*.tmp.zip fi -if [[ ${UPDATE_MODS_ON_START:-} ]]; then +if [[ ${UPDATE_MODS_ON_START:-} == "true" ]]; then ./docker-update-mods.sh fi