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

Alexander Wirt formorer at debian.org
Thu Jun 21 12:52:36 UTC 2012


The following commit has been merged in the master branch:
commit 29d67870fa98e1a165f9b76cd02bf737e2327117
Author: Alexander Wirt <formorer at debian.org>
Date:   Thu Jun 21 00:08:42 2012 +0200

    Check if ucf really exists during purge
    
    Closes: #677064

diff --git a/debian/icinga-idoutils.postrm b/debian/icinga-idoutils.postrm
index d963c76..5a0f060 100644
--- a/debian/icinga-idoutils.postrm
+++ b/debian/icinga-idoutils.postrm
@@ -13,7 +13,9 @@ fi
 
 if [ "$1" = "purge" ]; then
 	rm -f /etc/icinga/ido2db.cfg
-	ucf --purge /etc/icinga/ido2db.cfg
+    if which ucf >/dev/null; then
+        ucf --purge /etc/icinga/ido2db.cfg
+    fi
 	db_purge
 fi
 

-- 
debian packaging of icinga(-core)



More information about the Pkg-nagios-changes mailing list