This file is indexed.

postinst is in biff 1:0.17.pre20000412-5build1.

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
17
18
19
20
#!/bin/sh -e

if [ "$1" = "configure" ]; then
	if [ -x /usr/sbin/update-inetd ]; then
		if grep -q '^biff' /etc/inetd.conf ; then
			ENABLED=yes
		else
			ENABLED=no
		fi
		if grep -q 'biff	dgram	udp	wait	nobody.mail	/usr/sbin/in.comsat	comsat' /etc/inetd.conf ; then
			update-inetd --remove biff
		fi
		if [ "$ENABLED" = "yes" ]; then
			update-inetd --add 'biff	dgram	udp	wait	root.tty	/usr/sbin/in.comsat	comsat'
		else
			update-inetd --add '#<off># biff	dgram	udp	wait	root.tty	/usr/sbin/in.comsat	comsat'
		fi

	fi
fi