From e69908dee402304d8c2c2dad806c436dc7cc9828 Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 9 Feb 2001 23:58:50 +0000 Subject: r434: added back (sigh) --- autoscripts/postinst-suid | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 autoscripts/postinst-suid (limited to 'autoscripts/postinst-suid') diff --git a/autoscripts/postinst-suid b/autoscripts/postinst-suid new file mode 100644 index 00000000..820d69a4 --- /dev/null +++ b/autoscripts/postinst-suid @@ -0,0 +1,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 -- cgit v1.2.3