summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-suid
blob: dcc277fd6290c32ac52396e7c5286694acf0090f (plain)
1
2
3
4
5
6
if command -v 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#
        chmod #PERMS# /#FILE#
fi