diff options
Diffstat (limited to 'autoscripts/postrm-suid')
-rw-r--r-- | autoscripts/postrm-suid | 3 |
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 |