summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-suid
blob: d0d16c06d2763382e5b033fc1b98f9c7586bc519 (plain)
1
2
3
4
5
6
7
8
if [ "$1" = "configure" ]; 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#
	        chmod #PERMS# /#FILE#
	fi
fi