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