From 7cd539d2b71c1a00842ac609135e953618f73203 Mon Sep 17 00:00:00 2001 From: tenten8401 Date: Sat, 18 Nov 2017 21:57:45 -0500 Subject: [PATCH] Fix stupid logic Turns out it was only running if SRCDS_APPID was zero. Erhm. --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index aa990c5..b1b6ff3 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -7,7 +7,7 @@ cd /home/container export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'` # Update Source Server -if [ -z ${SRCDS_APPID} ]; then +if [ ! -z ${SRCDS_APPID} ]; then ./steamcmd/steamcmd.sh +login anonymous +force_install_dir /home/container +app_update ${SRCDS_APPID} +quit fi