From ec634c500f8fa52d9aeefdafc3200b71686a849c Mon Sep 17 00:00:00 2001 From: FeneralGeldmarschall Date: Sat, 14 Feb 2026 15:04:44 +0100 Subject: [PATCH] feat: add environment variable check to the update command so the user can enable/disable it using a new env variable --- entrypoint-user.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint-user.sh b/entrypoint-user.sh index db72891..d1ac528 100755 --- a/entrypoint-user.sh +++ b/entrypoint-user.sh @@ -110,7 +110,8 @@ if [ -z "${install}" ]; then echo -e "Validating ${GAMESERVER}" echo -e "=================================" ./"${GAMESERVER}" validate - else + fi + if [ "${UPDATE_ON_START,,}" = "true" ]; then echo -e "Checking for Update ${GAMESERVER}" echo -e "=================================" ./"${GAMESERVER}" update