Bug#703153: pre-approve: binkd/0.9.11-1.1
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package binkd
this is a trivial patch to fix a failure to purge binkd if
/var/log/binkd is empty or missing.
Andreas
unblock binkd/0.9.11-1.1
diff -Nru binkd-0.9.11/debian/binkd.postrm binkd-0.9.11/debian/binkd.postrm
--- binkd-0.9.11/debian/binkd.postrm 2012-05-21 03:52:15.000000000 +0200
+++ binkd-0.9.11/debian/binkd.postrm 2013-03-16 10:53:45.000000000 +0100
@@ -1,8 +1,9 @@
-#!/bin/sh -e
+#!/bin/sh
+set -e
if [ "$1" = purge ]; then
rm -f /var/log/binkd/binkd*
- rmdir --ignore-fail-on-non-empty /var/log/binkd/
+ rmdir --ignore-fail-on-non-empty /var/log/binkd/ 2>/dev/null || true
fi
#DEBHELPER#
diff -Nru binkd-0.9.11/debian/changelog binkd-0.9.11/debian/changelog
--- binkd-0.9.11/debian/changelog 2012-06-29 03:27:33.000000000 +0200
+++ binkd-0.9.11/debian/changelog 2013-03-16 11:09:09.000000000 +0100
@@ -1,3 +1,10 @@
+binkd (0.9.11-1.1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Do not fail to purge if /var/log/binkd does not exist. (Closes: #679590)
+
+ -- Andreas Beckmann <anbe@debian.org> Sat, 16 Mar 2013 10:53:51 +0100
+
binkd (0.9.11-1) unstable; urgency=low
* New upstream release, with minor bug fixes.
Reply to: