Skip to content

Commit

Permalink
Remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
1zc committed Dec 21, 2023
1 parent 67af95e commit 9481318
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ if [ ! -z ${SRCDS_APPID} ]; then
fi

# Restore gameinfo.gi file
if [ -f "${GAMEINFO_FILE}" ]; then
rm "$GAMEINFO_FILE" && mv "$GAMEINFO_FILE.tmp" "$GAMEINFO_FILE"
fi
mv "$GAMEINFO_FILE.tmp" "$GAMEINFO_FILE"

# Replace Startup Variables
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
Expand Down

0 comments on commit 9481318

Please sign in to comment.