Changeset 265
- Timestamp:
- Apr 20, 2016, 3:23:35 PM (9 years ago)
- Location:
- scripts/usr/local/lib/7dtd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/VERSION
r264 r265 1 Version: 992 Release: 2016-04- 061 Version: 100 2 Release: 2016-04-20 3 3 -
scripts/usr/local/lib/7dtd/commands/updateengine.sh
r258 r265 23 23 # FORCED=yes 24 24 # fi 25 26 local EXPERIMENTAL=no 27 if [ "$1" = "--experimental" ]; then 28 EXPERIMENTAL=yes 29 fi 25 30 26 31 if [ ! -e $SDTD_BASE/steamcmd ]; then … … 88 93 done 89 94 95 local BRANCH_PARAM= 96 if [ "$EXPERIMENTAL" = "yes" ]; then 97 BRANCH_PARAM="-beta latest_experimental" 98 fi 99 90 100 cd $SDTD_BASE/steamcmd 91 ./steamcmd.sh +login anonymous +force_install_dir $SDTD_BASE/engine +app_update 294420 validate+quit101 ./steamcmd.sh +login anonymous +force_install_dir $SDTD_BASE/engine +app_update 294420 -validate $BRANCH_PARAM +quit 92 102 93 103 if [ -d /usr/local/lib/7dtd/server-fixes ]; then … … 108 118 109 119 sdtdCommandUpdateengineHelp() { 110 echo "Usage: $(basename $0) updateengine " # [--force | --check]"120 echo "Usage: $(basename $0) updateengine [--experimental]" # [--force | --check]" 111 121 echo 112 122 echo "Check for a newer version of engine (aka game) files of 7dtd. If there is a newer" 113 123 echo "version they will be updated by this command." 124 echo 125 echo "If --experimental is specified the server will be updated to the" 126 echo "latest_experimental Steam branch of the game." 114 127 # echo 115 128 # echo "If --force is specified you are asked if you want to redownload the engine" … … 125 138 126 139 sdtdCommandUpdateengineExpects() { 140 case $1 in 141 2) 142 echo "--experimental" 143 ;; 144 esac 127 145 # case $1 in 128 146 # 2)
Note:
See TracChangeset
for help on using the changeset viewer.