From cd28b6f44c2c5a2bdd7de0bfd3555269d7caaef9 Mon Sep 17 00:00:00 2001 From: Lucas Briese Date: Mon, 8 Nov 2021 20:10:08 +0100 Subject: [PATCH] fix entrypoint for docker-compose --- lgsm/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/entrypoint.sh b/lgsm/entrypoint.sh index 1d3ae57..68f67ce 100644 --- a/lgsm/entrypoint.sh +++ b/lgsm/entrypoint.sh @@ -18,7 +18,7 @@ set -e # --- Install / Update --- cd "$STEAM_PATH" -if [ -n "$SERVER_EXECUTABLE" ] && [ -e "${STEAM_PATH}/$SERVER_EXECUTABLE" ]; then +if [ -n "$SERVER_EXECUTABLE" ] && [ -e "${STEAM_PATH}/$SERVER_EXECUTABLE" ] && [ -d "$STEAM_CMD" ]; then echo "[entrypoint.sh]updating..." ./"$SERVER_EXECUTABLE" update-lgsm ./"$SERVER_EXECUTABLE" update