summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-suid
diff options
context:
space:
mode:
authorunknown <unknown>2003-07-28 18:43:18 +0000
committerunknown <unknown>2003-07-28 18:43:18 +0000
commit7e1b5ccf5c7ae50d3b78c3ffba0ae29fd928ec60 (patch)
tree47c37051ccc443d59968a2acd5d86a53b3c4a6b0 /autoscripts/postrm-suid
parentd579dae0cf159c50dcd902ff4a35590f7dcff395 (diff)
parent63e45075003b1d9fcff097b5644a81131c346653 (diff)
downloaddebhelper-version_2.0.23.tar.gz
r622: This commit was manufactured by cvs2svn to create tag 'rel-2-0-23'.version_2.0.23
Diffstat (limited to 'autoscripts/postrm-suid')
-rw-r--r--autoscripts/postrm-suid3
1 files changed, 1 insertions, 2 deletions
diff --git a/autoscripts/postrm-suid b/autoscripts/postrm-suid
index a4cfecf9..d4a76199 100644
--- a/autoscripts/postrm-suid
+++ b/autoscripts/postrm-suid
@@ -1,4 +1,3 @@
-if [ "$1" = remove ] && [ -e /etc/suid.conf ] && \
- which suidunregister >/dev/null 2>&1; then
+if command -v suidunregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then
suidunregister -s #PACKAGE# /#FILE#
fi