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