postinst is in netselect 0.3.ds1-28+b1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh -e
. /usr/share/debconf/confmodule
db_get netselect/install-setuid
if [ -x /usr/bin/netselect -a "$RET" = "false" ] ; then
if ! dpkg-statoverride --list /usr/bin/netselect >/dev/null; then
chown root:root /usr/bin/netselect
chmod u=rwx,go=rx /usr/bin/netselect
fi
else
if ! dpkg-statoverride --list /usr/bin/netselect >/dev/null; then
chown root:root /usr/bin/netselect
chmod u=rwxs,go=rx /usr/bin/netselect
fi
fi
|