diff options
author | Julian Brost | 2018-01-20 20:46:21 +0100 |
---|---|---|
committer | Julian Brost | 2018-01-20 20:46:21 +0100 |
commit | b679b55be6c58cda6e7972d35558a69953ab70bd (patch) | |
tree | 11b44c21b88d6e5f76e40529b3081bd7ee128b86 /icinga2.install | |
parent | 5ebf572d7eec4630befa00e4063c252cfd31dd2b (diff) | |
download | aur-b679b55be6c58cda6e7972d35558a69953ab70bd.tar.gz |
new version 2.8.1-1
Diffstat (limited to 'icinga2.install')
-rw-r--r-- | icinga2.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/icinga2.install b/icinga2.install index 5416cfd14911..14ec50e3d0c8 100644 --- a/icinga2.install +++ b/icinga2.install @@ -30,3 +30,13 @@ post_remove() { /usr/bin/getent group icinga &> /dev/null && /usr/bin/groupdel icinga &> /dev/null /usr/bin/getent group icingacmd &> /dev/null && /usr/bin/groupdel icingacmd &> /dev/null } + +post_upgrade() { + if [[ "$(vercmp "$2" '2.8.0')" -lt 0 ]]; then + cat << EOF +==> Icinga version 2.8.0 requires an DB IDO schema upgrade and uses new paths +==> for certificates. Check the upgrading instructions for details: +==> https://www.icinga.com/docs/icinga2/latest/doc/16-upgrading-icinga-2/#upgrading-to-v28 +EOF + fi +} |