X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-suid;h=db4bc6ddbca64e2d8dd0f4750b7d745b7a2858fa;hb=18a0da8092ea9f3dc48bca92b36f592af25a608d;hp=820d69a4ee221182cc9ce7af31ace441e1a1d4a9;hpb=e69908dee402304d8c2c2dad806c436dc7cc9828;p=debhelper.git diff --git a/autoscripts/postinst-suid b/autoscripts/postinst-suid index 820d69a..db4bc6d 100644 --- a/autoscripts/postinst-suid +++ b/autoscripts/postinst-suid @@ -1,8 +1,8 @@ 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# + chown #OWNER#:#GROUP# /#FILE# chmod #PERMS# /#FILE# fi fi