This file is indexed.

postinst is in newpid 9.

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
#!/bin/sh

set -e

case $1 in
	configure)
		# Code cargo-culted from iputils-ping postinst:
		if setcap "CAP_SYS_ADMIN,CAP_NET_ADMIN=pe" /usr/bin/newpid; then
			chmod u-s /usr/bin/newpid
		else
			echo "Setcap failed on /usr/bin/newpid, falling back to setuid" >&2
			chmod u+s /usr/bin/newpid
		fi
		;;
esac