diff options
Diffstat (limited to 'autoscripts/postinst-suid')
-rw-r--r-- | autoscripts/postinst-suid | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-suid b/autoscripts/postinst-suid index 820d69a4..d0d16c06 100644 --- a/autoscripts/postinst-suid +++ b/autoscripts/postinst-suid @@ -1,5 +1,5 @@ if [ "$1" = "configure" ]; then - if command -v suidregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then + if which suidregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then suidregister -s #PACKAGE# /#FILE# #OWNER# #GROUP# #PERMS# elif [ -e /#FILE# ]; then chown #OWNER#.#GROUP# /#FILE# |