summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoscripts/postrm-suid3
-rw-r--r--debian/changelog7
2 files changed, 9 insertions, 1 deletions
diff --git a/autoscripts/postrm-suid b/autoscripts/postrm-suid
index 9712d256..340736af 100644
--- a/autoscripts/postrm-suid
+++ b/autoscripts/postrm-suid
@@ -1,3 +1,4 @@
-if [ -e /etc/suid.conf -a -x /usr/sbin/suidunregister ]; then
+if [ "$1" = remove -a -e /etc/suid.conf ] && \
+ command -v suidunregister >/dev/null 2>&1; then
suidunregister -s #PACKAGE# /#FILE#
fi
diff --git a/debian/changelog b/debian/changelog
index 6a4f994a..403831eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debhelper (2.1.20) unstable; urgency=low
+
+ * dh_suidregister: do not unregister on purge, since it will have already
+ been unregistered then, and a warning will result.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 5 Nov 2000 17:02:50 -0800
+
debhelper (2.1.19) unstable; urgency=low
* dh_builddeb: Ok, it is cosmetic, but it annoyed me.