Fix stupid logic

Turns out it was only running if SRCDS_APPID was zero. Erhm.
This commit is contained in:
tenten8401 2017-11-18 21:57:45 -05:00 committed by GitHub
parent 76707d563c
commit 7cd539d2b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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