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