X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostrm-suid;h=a4cfecf9a943b25d7d1c6a9810f34863b8b94278;hb=2fda039fdf31d1807c7bcdb4b1ccf58607781a9a;hp=340736afa0db37da823283ecc3566f2e86818aa4;hpb=e69908dee402304d8c2c2dad806c436dc7cc9828;p=debhelper.git diff --git a/autoscripts/postrm-suid b/autoscripts/postrm-suid index 340736a..a4cfecf 100644 --- a/autoscripts/postrm-suid +++ b/autoscripts/postrm-suid @@ -1,4 +1,4 @@ -if [ "$1" = remove -a -e /etc/suid.conf ] && \ - command -v suidunregister >/dev/null 2>&1; then +if [ "$1" = remove ] && [ -e /etc/suid.conf ] && \ + which suidunregister >/dev/null 2>&1; then suidunregister -s #PACKAGE# /#FILE# fi