scripts/DST/DST_maj.sh

9 lines
480 B
Bash
Raw Normal View History

2017-11-13 07:57:31 +01:00
#!/bin/bash
[ ! -r "$(dirname $0)/DST.params" ] && echo "Fichier de parameteres manquant : $(dirname $0)/DST.params" && exit 2
source $(dirname $0)/DST.params
[ ! -d "${GAME_PATH}" ] && echo "Missing GAME_PATH ${GAME_PATH}" && exit 3
[ -z ${GAME_STEAMID} ] && "Missing App SteamID"
echo "${STEAMCMD} +login anonymous +force_install_dir ${GAME_PATH} +app_update ${GAME_STEAMID} +quit"
${STEAMCMD} +login anonymous +force_install_dir ${GAME_PATH} +app_update ${GAME_STEAMID} +quit