summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-suid
diff options
context:
space:
mode:
authorjoey <joey>2002-06-21 00:46:43 +0000
committerjoey <joey>2002-06-21 00:46:43 +0000
commitc84545b9234bf1d233983d5ae59ab59d573a5460 (patch)
tree08b66dfc30003e1ec9afeab75aa2848fb786bb8b /autoscripts/postrm-suid
parent3c36c2532c3907f0a315d9010654176e8e9fc319 (diff)
r533: * In script fragments, use more posix tests, no -a or -o, no parens.
Closes: #150403
Diffstat (limited to 'autoscripts/postrm-suid')
-rw-r--r--autoscripts/postrm-suid2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postrm-suid b/autoscripts/postrm-suid
index 46fee33..a4cfecf 100644
--- a/autoscripts/postrm-suid
+++ b/autoscripts/postrm-suid
@@ -1,4 +1,4 @@
-if [ "$1" = remove -a -e /etc/suid.conf ] && \
+if [ "$1" = remove ] && [ -e /etc/suid.conf ] && \
which suidunregister >/dev/null 2>&1; then
suidunregister -s #PACKAGE# /#FILE#
fi