mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-15 03:58:27 +00:00
Checks if user wants to perform a backup prior to updating if a new version is available
This commit is contained in:
parent
a8b3e65bd9
commit
cb7ab15f69
@ -639,6 +639,9 @@ doUpdate() {
|
||||
doStop
|
||||
|
||||
if [ -n "$appupdate" ]; then
|
||||
if [ "$arkBackupPreUpdate" == "true" ]; then
|
||||
doBackup
|
||||
fi
|
||||
cd "$steamcmdroot"
|
||||
./$steamcmdexec +login anonymous +force_install_dir "$arkserverroot" +app_update $appid $validate +quit
|
||||
# the current version should be the last version. We set our version
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user