summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-suid
blob: db4bc6ddbca64e2d8dd0f4750b7d745b7a2858fa (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