This file is indexed.

postinst is in libapache2-mpm-itk 2.4.7-04-1.

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

set -e

if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt 2.4.7-02-1.1~; then
	if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
		. /usr/share/apache2/apache2-maintscript-helper

		if [ $(a2query -M) != 'prefork' ] ; then
			if apache2_switch_mpm prefork ; then
				apache2_invoke enmod mpm_itk
			else
				apache2_msg err "Could not switch to prefork, not enabling mpm_itk"
			fi
		else
			apache2_invoke enmod mpm_itk
		fi

	fi
fi