[Pkg-nagios-changes] [pkg-nagios] r1943 - nagvis/trunk/debian

Alexander Reichle-Schmehl tolimar at alioth.debian.org
Wed Sep 7 12:03:22 UTC 2011


tags 620037 pending
thanks

Author: tolimar
Date: 2011-09-07 12:03:22 +0000 (Wed, 07 Sep 2011)
New Revision: 1943

Modified:
   nagvis/trunk/debian/changelog
   nagvis/trunk/debian/postrm
Log:
Only call ucf on purge if it's available



Modified: nagvis/trunk/debian/changelog
===================================================================
--- nagvis/trunk/debian/changelog	2011-09-07 12:00:59 UTC (rev 1942)
+++ nagvis/trunk/debian/changelog	2011-09-07 12:03:22 UTC (rev 1943)
@@ -1,9 +1,11 @@
-nagvis (1:1.4.6-2) UNRELEASED; urgency=low
+nagvis (1:1.4.6-2) UNRELEASED; urgency=medium
 
   * NOT RELEASED YET
   * Add myself to uploaders
+  * Only call ucf on purge if it's available (Closes: #620037)
+    * Set urgency to medium due to RC bug fix
 
- -- Alexander Reichle-Schmehl <tolimar at debian.org>  Wed, 07 Sep 2011 13:57:21 +0200
+ -- Alexander Reichle-Schmehl <tolimar at debian.org>  Wed, 07 Sep 2011 14:02:20 +0200
 
 nagvis (1:1.4.6-1.1) unstable; urgency=low
 

Modified: nagvis/trunk/debian/postrm
===================================================================
--- nagvis/trunk/debian/postrm	2011-09-07 12:00:59 UTC (rev 1942)
+++ nagvis/trunk/debian/postrm	2011-09-07 12:03:22 UTC (rev 1943)
@@ -41,7 +41,9 @@
 if [ "$1" = "purge" ]; then
 	for file in apache.conf nagvis.ini.php; do
 		rm -f /etc/nagvis/$file
-		ucf --debconf-ok --purge /etc/nagvis/$file
+		if [ -x /usr/bin/ucf ] ; then
+			/usr/bin/ucf --debconf-ok --purge /etc/nagvis/$file
+		fi
 	done
 
 	#if [ -e /etc/apache2/conf.d/nagvis.conf ]; then




More information about the Pkg-nagios-changes mailing list