This file is indexed.

postinst is in tasksel-data 3.34ubuntu11.

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


# directory turned into symlink; give dpkg a hand.
if dpkg --compare-versions "$2" lt 3.14; then
	if [ ! -L /usr/share/doc/tasksel-data ] && \
	   [ -d /usr/share/doc/tasksel-data ] && \
	   rmdir /usr/share/doc/tasksel-data 2>/dev/null; then
		ln -sf tasksel /usr/share/doc/tasksel-data
	fi
fi