Skip to content

Commit

Permalink
Update entry.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Tolfx authored Jan 6, 2024
1 parent 42f3a72 commit e62d950
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions etc/entry.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
#!/bin/bash
mkdir -p "${STEAMAPPDIR}" || true

if [ "${AUTO_UPDATE_ONLY}" = true ]; then
bash "${STEAMCMDDIR}/steamcmd.sh" +force_install_dir "${STEAMAPPDIR}" \
+login anonymous \
+app_update "${STEAMAPPID}" \
+quit

exit 0
fi

if [ "${AUTO_INSTALL}" = true ]; then
bash "${STEAMCMDDIR}/steamcmd.sh" +force_install_dir "${STEAMAPPDIR}" \
+login anonymous \
Expand Down Expand Up @@ -82,4 +73,5 @@ bash "${STEAMAPPDIR}/srcds_run" -game "${STEAMAPP}" -console \
-unrestricted_maxplayers \
${HOSTNAME_PARAM} \
${DEBUG_ENABLED} \
${START_MAP}
${START_MAP} \
${SRCDS_START_CUSTOMS}

0 comments on commit e62d950

Please sign in to comment.