This file is indexed.

postinst is in adminer 3.3.3-1+deb8u1.

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
21
22
23
24
25
#!/bin/sh

set -e

apache_install() 
{
	webserver=$1
	if [ -d /etc/$webserver/conf.d ] && [ ! -e /etc/$webserver/conf.d/adminer.conf ]; then
		ln -s ../../adminer/apache.conf /etc/$webserver/conf.d/adminer.conf
	fi
}

apache_install apache2

if [ -f /etc/init.d/apache2 ] ; then
    if [ -x /usr/sbin/invoke-rc.d ]; then
	invoke-rc.d apache2 force-reload >/dev/null 2>&1 || true
    else
	/etc/init.d/apache2 force-reload >/dev/null 2>&1 || true
    fi
fi



exit 0