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