mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-13 03:18:28 +00:00
replaced appid with variable
This commit is contained in:
parent
6ec818e557
commit
d291495658
@ -40,7 +40,7 @@ cd $arkserverroot
|
||||
touch arkversion # If the file doesn't exist
|
||||
instver=`cat "arkversion"`
|
||||
cd $steamcmdroot
|
||||
bnumber=`./$steamcmdexec +login anonymous +app_info_print "376030" +quit | grep -EA 5 "^\s+\"public\"$" | grep -E "^\s+\"buildid\"\s+" | tr '[:blank:]"' ' ' | tr -s ' ' | cut -f3 | sed 's/^ //' | cut -c9-14`
|
||||
bnumber=`./$steamcmdexec +login anonymous +app_info_print "$appid" +quit | grep -EA 5 "^\s+\"public\"$" | grep -E "^\s+\"buildid\"\s+" | tr '[:blank:]"' ' ' | tr -s ' ' | cut -f3 | sed 's/^ //' | cut -c9-14`
|
||||
|
||||
case "$bnumber" in
|
||||
*$instver*)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user