This file is indexed.

config is in bitlbee-common 3.0.4+bzr855-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
21
22
23
24
25
26
27
#!/bin/sh

set -e

. /usr/share/debconf/confmodule
[ -f /etc/default/bitlbee ] && . /etc/default/bitlbee

db_title BitlBee

if [ -n "$BITLBEE_PORT" ]; then
	db_set bitlbee/serveport "$BITLBEE_PORT"
else
	db_get bitlbee/serveport
	if [ "$RET" = "stillhavetoask" ]; then
		listens=$(netstat -ltn | awk '{print $4}')
		for port in 6667 6666 6668 6669; do
			if [ $(expr "$listens " : ".*:$port\s") = "0" ]; then
				break
			fi
		done
		db_set bitlbee/serveport $port;
	fi
fi

if db_input medium bitlbee/serveport; then
	db_go;
fi