This file is indexed.

postinst is in libapache2-mod-parser3 3.4.1-3ubuntu1.

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

set -e

if [ "$1" = configure ] ; then
# only enable on new installs, not on upgrades
    if [ -z "$2" ] ; then
	a2enmod -q parser3
    fi
# only restart if mod_parser3 is enabled
    if [ -e /etc/apache2/mods-enabled/parser3.load ] ; then
	invoke-rc.d apache2 restart
    fi
fi