This file is indexed.

config is in ircd-hybrid 1:8.2.12+dfsg.1-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
28
29
30
31
32
33
34
35
#!/bin/sh

set -e
. /usr/share/debconf/confmodule

if dpkg --compare-versions "$2" lt-nl "1:8.0.9.dfsg.1-2"; then
    db_input high ircd-hybrid/upgrade_no_services_warn || true
    db_go
    db_get ircd-hybrid/upgrade_no_services_warn || true
    if [ "$RET" = "false" ]; then
        echo "Aborting install";
        db_fset ircd-hybrid/upgrade_no_services_warn seen false
        exit 1
    fi
fi

if test "${2#*ssl}" != "$2"; then
    db_input high ircd-hybrid/upgrade_to_nossl_warn || true
    db_go
    db_get ircd-hybrid/upgrade_to_nossl_warn || true
    if [ "$RET" = "false" ]; then
        echo "Aborting install";
        db_fset ircd-hybrid/upgrade_to_nossl_warn seen false
        exit 1
    fi
fi

if [ "$1" = "configure" ]; then
	if dpkg --compare-versions "$2" ge "1:7.2.2-1"; then
		db_input medium ircd-hybrid/restart_on_upgrade || true
	fi
fi
db_go

exit 0