[Pkg-nagios-changes] [SCM] debian packaging of icinga(-core) branch, master, updated. debian/1.7.0-3-3-gfb82081

Alexander Wirt formorer at debian.org
Mon Jun 18 16:22:41 UTC 2012


The following commit has been merged in the master branch:
commit 704a3bc2f169e0ffbc19e62dc8237c9153728482
Author: Alexander Wirt <formorer at debian.org>
Date:   Sat Jun 9 07:44:58 2012 +0200

    Quote version for dpkg-compare

diff --git a/debian/icinga-core.postinst b/debian/icinga-core.postinst
index 7d69823..94da146 100644
--- a/debian/icinga-core.postinst
+++ b/debian/icinga-core.postinst
@@ -20,7 +20,7 @@
 
 case "$1" in
     configure)
-        if dpkg --compare-versions $2 lt-nl '1.7.0-1'; then
+        if dpkg --compare-versions "$2" lt-nl '1.7.0-1'; then
             if [ -e "/var/lib/icinga/retention.dat" ] && [ ! -e "/var/cache/icinga/retention.dat" ]
             then
                 echo "Move old retention.dat to new location (/var/cache/icinga/)"

-- 
debian packaging of icinga(-core)



More information about the Pkg-nagios-changes mailing list