nettoyage

This commit is contained in:
onimaro 2019-03-27 19:01:11 +01:00
parent a96aec95de
commit 2ef1c0e13f
3 changed files with 2 additions and 6 deletions

View File

@ -9,7 +9,7 @@ if [ ! -r "$(dirname $0)/../../params/${GAME_NAME}.params" ]; then
exit 0 exit 0
fi fi
source $(dirname $0)/../../params/${GAME_NAME}.params || (echo "Impossible de charger les parametres du jeu via $(dirname $0)/../../params/${GAME_NAME}.params" && exit 5) source $(dirname $0)/../../params/${GAME_NAME}.params || (echo "Impossible de charger les parametres du jeu via $(dirname $0)/../../params/${GAME_NAME}.params" && exit 5)
[ ! -d "${GAME_PATH}" ] && echo "creation du repertoire de jeu ${GAME_PATH}" [ ! -d "${GAME_PATH}" ] && echo "creation du repertoire de jeu ${GAME_PATH}" && mkdir -p ${GAME_PATH}
[ -z ${GAME_STEAMID} ] && "Missing App SteamID" && exit 7 [ -z ${GAME_STEAMID} ] && "Missing App SteamID" && exit 7
echo "Mise a jour du jeu ..." echo "Mise a jour du jeu ..."
echo "${STEAMCMD} +login anonymous +force_install_dir ${GAME_PATH} +app_update ${GAME_STEAMID} +quit" echo "${STEAMCMD} +login anonymous +force_install_dir ${GAME_PATH} +app_update ${GAME_STEAMID} +quit"

View File

@ -1,5 +0,0 @@
export GAME_NAME='DST'
export GAME_STEAMID=343050
export GAME_PATH="~/jeux/server_dst/"
export LOG_PATH="~/logs/${GAME_NAME}/"
export STEAMCMD="~/steamcmd/steamcmd.sh"

1
DST/readme Normal file
View File

@ -0,0 +1 @@
require libcurl3-gnutsl:i386