diff options
Diffstat (limited to 'autoscripts/postrm-suid')
-rw-r--r-- | autoscripts/postrm-suid | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autoscripts/postrm-suid b/autoscripts/postrm-suid index d4a76199..a4cfecf9 100644 --- a/autoscripts/postrm-suid +++ b/autoscripts/postrm-suid @@ -1,3 +1,4 @@ -if command -v suidunregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then +if [ "$1" = remove ] && [ -e /etc/suid.conf ] && \ + which suidunregister >/dev/null 2>&1; then suidunregister -s #PACKAGE# /#FILE# fi |