[Pkg-nagios-changes] [pkg-nagios] r1726 - nagios-nrpe/trunk/debian
Alexander Wirt
formorer at alioth.debian.org
Fri Sep 4 13:18:38 UTC 2009
tags 527069 pending
thanks
Author: formorer
Date: 2009-09-04 13:18:37 +0000 (Fri, 04 Sep 2009)
New Revision: 1726
Added:
nagios-nrpe/trunk/debian/nagios-nrpe-plugin.postrm
nagios-nrpe/trunk/debian/nagios-nrpe-server.postrm
Modified:
nagios-nrpe/trunk/debian/changelog
Log:
Remove /var/lib/nagios on purge
Modified: nagios-nrpe/trunk/debian/changelog
===================================================================
--- nagios-nrpe/trunk/debian/changelog 2009-09-04 12:51:51 UTC (rev 1725)
+++ nagios-nrpe/trunk/debian/changelog 2009-09-04 13:18:37 UTC (rev 1726)
@@ -6,6 +6,7 @@
* Fix pidfile handling (Closes: #411046)
* Add newer config.{guess,sub} (Closes: #535737)
- Build-depend on autotools-dev
+ * Delete /var/lib/nagios if empty after purge (Closes: #527069)
* Bump standards version (add README.source)
* Bump dh_compat version (remove -k from dh_clean)
Added: nagios-nrpe/trunk/debian/nagios-nrpe-plugin.postrm
===================================================================
--- nagios-nrpe/trunk/debian/nagios-nrpe-plugin.postrm (rev 0)
+++ nagios-nrpe/trunk/debian/nagios-nrpe-plugin.postrm 2009-09-04 13:18:37 UTC (rev 1726)
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = purge ]; then
+ test -d /var/lib/nagios && rmdir /var/lib/nagios || true #ignore non-failure errors
+fi
+
+#DEBHELPER#
+
Added: nagios-nrpe/trunk/debian/nagios-nrpe-server.postrm
===================================================================
--- nagios-nrpe/trunk/debian/nagios-nrpe-server.postrm (rev 0)
+++ nagios-nrpe/trunk/debian/nagios-nrpe-server.postrm 2009-09-04 13:18:37 UTC (rev 1726)
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = purge ]; then
+ test -d /var/lib/nagios && rmdir /var/lib/nagios || true #ignore non-failure errors
+fi
+
+#DEBHELPER#
+
More information about the Pkg-nagios-changes
mailing list