Touch app manifest on update

Touch the app manifest on update in order to force other instances to restart when an update is run.
This commit is contained in:
Ben Peddell 2016-09-09 13:17:43 +10:00 committed by GitHub
parent 3dc8ef100e
commit 8c05d7bf1e

View File

@ -1190,6 +1190,10 @@ doUpdate() {
doStart --noautoupdate
fi
fi
if [ -z "$bgupdate" ]; then
touch "${arkserverroot}/steamapps/appmanifest_${appid}.acf"
fi
else
echo "Your server is already up to date! The most recent version is ${bnumber}."
echo "`timestamp`: No update needed." >> "$logdir/update.log"