mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-13 03:18:28 +00:00
fixed forceUpdate function
This commit is contained in:
parent
abd1e3ab31
commit
ad9a1a4587
@ -253,8 +253,10 @@ forceUpdate(){
|
||||
doStop
|
||||
cd "$steamcmdroot"
|
||||
./$steamcmdexec +login anonymous +force_install_dir "$arkserverroot" +app_update $appid +quit
|
||||
echo "$bnumber" > "$arkserverroot/arkversion"
|
||||
echo "$timestamp: update to $bnumber complete" >> "$logdir/update.log"
|
||||
# the current version should be the last version. We set our version
|
||||
getAvailableVersion
|
||||
setCurrentVersion
|
||||
echo "$timestamp: update to $instver complete" >> "$logdir/update.log"
|
||||
|
||||
# we restart the server only if it was started before the update
|
||||
if [ $serverWasAlive -eq 1 ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user