koel upgrades

This commit is contained in:
Bob Mottram 2017-05-26 10:03:28 +01:00
parent eaac55f03a
commit 921266cce1
1 changed files with 5 additions and 0 deletions

View File

@ -295,6 +295,11 @@ function upgrade_koel {
KOEL_DOMAIN_NAME=$(get_completion_param "koel domain")
fi
CURR_KOEL_COMMIT=$(get_completion_param "koel commit")
if [[ "$CURR_KOEL_COMMIT" == "$KOEL_COMMIT" ]]; then
return
fi
systemctl stop koel
# update to the next commit