fix entrypoint for docker-compose

This commit is contained in:
Lucas Briese 2021-11-08 20:10:08 +01:00
parent 2d702db907
commit cd28b6f44c

View File

@ -18,7 +18,7 @@ set -e
# --- Install / Update --- # --- Install / Update ---
cd "$STEAM_PATH" 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..." echo "[entrypoint.sh]updating..."
./"$SERVER_EXECUTABLE" update-lgsm ./"$SERVER_EXECUTABLE" update-lgsm
./"$SERVER_EXECUTABLE" update ./"$SERVER_EXECUTABLE" update