Changeset 60 for scripts/usr
- Timestamp:
- Jun 15, 2014, 3:14:36 PM (11 years ago)
- Location:
- scripts/usr/local/lib/7dtd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/VERSION
r59 r60 1 Version: 1 81 Version: 19 2 2 Release: 2014-06-15 -
scripts/usr/local/lib/7dtd/common.sh
r53 r60 118 118 getRemoteEngineVersion() { 119 119 cd $SDTD_BASE/steamcmd 120 local REMOTE=$(./steamcmd.sh "+app_info_print 251570" +quit | grep -EA 1000 "^\s+\"branches\"$" | grep -EA 5 "^\s+\"public\"$" | grep -m 1 -EB 10 "^\s+}$" | grep -E "^\s+\"buildid\"\s+" | tr '[:blank:]"' ' ' | tr -s ' ' | cut -d\ -f3) 120 local REMOTE=$(wget -qO- http://steamdb.info/api/GetRawDepots/?appid=251570 | sed 's/\\n/\n/g' | grep -EA 1000 "^\s+\[branches\]" | grep -EA 5 "^\s+\[public\]" | grep -m 1 -EB 10 "^\s+\)$" | grep -E "^\s+\[buildid\]\s+" | tr '[:blank:]"' ' ' | tr -s ' ' | cut -d\ -f4) 121 121 122 if [ $(isANumber "$REMOTE") -eq 0 ]; then 122 123 REMOTE=1
Note:
See TracChangeset
for help on using the changeset viewer.