This file is indexed.

config is in pnp4nagios-web 0.6.16-2.

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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#! /bin/sh
# config script for pnp4nagios-web
#
# see: dh_installdebconf(1)

set -e

# summary of how this script can be called:
#        * <preconfigure> `configure' <installed-version>
#        * <postinst> `configure' <old-version>
#        * <reconfigure> `reconfigure' <installed-version>

. /usr/share/debconf/confmodule

case "$1" in
	configure|reconfigure)
		default_servers=""
		if test -d /etc/apache2/conf.d; then
			default_servers="apache2"
		fi

		db_fget pnp4nagios-web/httpd seen
		if [ "$RET" = "false" ]; then
			db_set pnp4nagios-web/httpd "$default_servers"
		fi

		db_input medium pnp4nagios-web/httpd || true
		db_go || true
		;;

	*)
		echo "config called with unknown argument \`$1'" >&2
		exit 1
		;;
esac

db_stop

exit 0