[Pkg-nagios-changes] [pkg-nagios] r1084 - nagios/trunk/debian

Sean Finney seanius at alioth.debian.org
Sun Dec 10 10:35:04 CET 2006


Author: seanius
Date: 2006-12-10 10:35:04 +0100 (Sun, 10 Dec 2006)
New Revision: 1084

Modified:
   nagios/trunk/debian/changelog
   nagios/trunk/debian/nagios-mysql.postrm
   nagios/trunk/debian/nagios-pgsql.postrm
Log:
ucf fix

Modified: nagios/trunk/debian/changelog
===================================================================
--- nagios/trunk/debian/changelog	2006-12-10 09:24:43 UTC (rev 1083)
+++ nagios/trunk/debian/changelog	2006-12-10 09:35:04 UTC (rev 1084)
@@ -14,8 +14,10 @@
     the follow-up consultation.  existing nagios-pgsql users: see NEWS.Debian.
     (closes: #401155).
     patch: 17_create_pgsql-oids.dpatch
+  * properly purge the ucf information for database.cfg for nagios-pgsql
+    and nagios-mysql
 
- -- sean finney <seanius at debian.org>  Sat, 09 Dec 2006 21:52:38 +0100
+ -- sean finney <seanius at debian.org>  Sun, 10 Dec 2006 10:34:57 +0100
 
 nagios (2:1.4-3) unstable; urgency=low
 

Modified: nagios/trunk/debian/nagios-mysql.postrm
===================================================================
--- nagios/trunk/debian/nagios-mysql.postrm	2006-12-10 09:24:43 UTC (rev 1083)
+++ nagios/trunk/debian/nagios-mysql.postrm	2006-12-10 09:35:04 UTC (rev 1084)
@@ -15,6 +15,9 @@
 fi
 
 if [ "$1" = "purge" ]; then
+	if which ucf >/dev/null 2>&1; then
+		ucf --purge /etc/nagios/database.cfg
+	fi
 	rm -f /etc/nagios/database.cfg
 fi
 

Modified: nagios/trunk/debian/nagios-pgsql.postrm
===================================================================
--- nagios/trunk/debian/nagios-pgsql.postrm	2006-12-10 09:24:43 UTC (rev 1083)
+++ nagios/trunk/debian/nagios-pgsql.postrm	2006-12-10 09:35:04 UTC (rev 1084)
@@ -14,6 +14,9 @@
 fi
 
 if [ "$1" = "purge" ]; then
+	if which ucf >/dev/null 2>&1; then
+		ucf --purge /etc/nagios/database.cfg
+	fi
 	rm -f /etc/nagios/database.cfg
 fi
 




More information about the Pkg-nagios-changes mailing list