/usr/share/debhelper/autoscripts/postinst-suid is in debhelper 9.20120909.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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
|