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 9712d256..340736af 100644 --- a/autoscripts/postrm-suid +++ b/autoscripts/postrm-suid @@ -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 |