[Pkg-nagios-changes] [pkg-check-mk] 01/01: debconf msg only when upgrading from < 1.2.0
Thomas Bechtold
toabctl-guest at alioth.debian.org
Mon Sep 9 13:12:29 UTC 2013
This is an automated email from the git hooks/post-receive script.
toabctl-guest pushed a commit to branch master
in repository pkg-check-mk.
commit 9038096ac320c5ff093b9de18a66cc3896704510
Author: Thomas Bechtold <t.bechtold at telekom.de>
Date: Mon Sep 9 15:11:44 2013 +0200
debconf msg only when upgrading from < 1.2.0
---
debian/check-mk-server.config | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/check-mk-server.config b/debian/check-mk-server.config
index 350af36..0194d51 100644
--- a/debian/check-mk-server.config
+++ b/debian/check-mk-server.config
@@ -9,5 +9,7 @@ set -e
. /usr/share/debconf/confmodule
# Message about rdd definiton changes
-db_input high check-mk-server/v1.2_upgrade_msg || true
+if [ "$#" -eq 2 ] && test -n "$2"; then
+ dpkg --compare-versions $2 lt 1.2.0 && db_input high check-mk-server/v1.2_upgrade_msg || true
+fi
db_go || true
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-check-mk.git
More information about the Pkg-nagios-changes
mailing list