mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-17 04:48:26 +00:00
fixed error when file doesn't exist
This commit is contained in:
parent
aafff81ea4
commit
794a397d24
@ -37,6 +37,7 @@ thejob=""
|
||||
update=1
|
||||
timestamp=$( date +%T )
|
||||
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`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user