]> git.donarmstrong.com Git - debhelper.git/commitdiff
r382: * dh_suidregister: do not unregister on purge, since it will have already
authorjoey <joey>
Mon, 6 Nov 2000 01:05:13 +0000 (01:05 +0000)
committerjoey <joey>
Mon, 6 Nov 2000 01:05:13 +0000 (01:05 +0000)
     been unregistered then, and a warning will result.

autoscripts/postrm-suid
debian/changelog

index 9712d25646e4aa4cd6d1c20e39eece2648b609ee..340736afa0db37da823283ecc3566f2e86818aa4 100644 (file)
@@ -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
index 6a4f994abdfae1cb723aaca96050cdc8fca762a5..403831ebbe86dfc29981cc1fcf158c06c0cd31ed 100644 (file)
@@ -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.