[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771638: unblock: nagios2mantis/3.1-1.1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package nagios2mantis

Just uploaded a NMU to DELAYED/2:

+nagios2mantis (3.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * postrm: Check for /etc/init.d/incron before restarting incron.
+    (Closes: #767665)
Failed to purge if incron was no longer installed.

+  * postrm purge: Cleanup files created by the postinst in
+    /var/lib/nagios2mantis.
That's the folloup piuparts issue - leaving files around after purge.
Delete everything the postinst has created.

Andreas

unblock nagios2mantis/3.1-1.1
only in patch2:
unchanged:
--- nagios2mantis-3.1.orig/debian/changelog
+++ nagios2mantis-3.1/debian/changelog
@@ -1,3 +1,13 @@
+nagios2mantis (3.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * postrm: Check for /etc/init.d/incron before restarting incron.
+    (Closes: #767665)
+  * postrm purge: Cleanup files created by the postinst in
+    /var/lib/nagios2mantis.
+
+ -- Andreas Beckmann <anbe@debian.org>  Mon, 01 Dec 2014 04:50:20 +0100
+
 nagios2mantis (3.1-1) unstable; urgency=medium
 
   * debian/control: add python-minimal to Build-Depends (closes: #759222).
only in patch2:
unchanged:
--- nagios2mantis-3.1.orig/debian/postrm
+++ nagios2mantis-3.1/debian/postrm
@@ -20,7 +20,16 @@
 if [ "$1" = "remove" ] || [ "$1" = "purge" ]
 then
     # Restart incron
+  if [ -f /etc/init.d/incron ]; then
     invoke-rc.d incron restart
+  fi
+fi
+
+if [ "$1" = "purge" ]
+then
+    rm -f /var/lib/nagios2mantis/spool.sqlite
+    rm -f /var/lib/nagios2mantis/nagios2mantis.inotify
+    test ! -d /var/lib/nagios2mantis || rmdir --ignore-fail-on-non-empty /var/lib/nagios2mantis 
 fi
 
 #DEBHELPER#

Reply to: