This file is indexed.

config is in mono-apache-server4 2.10-1build1.

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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash -e

. /usr/share/debconf/confmodule
db_version 2.0
db_capb backup
db_title ModMono Server

# XSP1
if [ -d /etc/mono-server/conf.d ] && [ "`ls /etc/mono-server/conf.d/ | grep -v ^asp.net-examples$ | grep -v ^monodoc-http$ | wc -l`" -gt 0 ]; then
	set +e
	db_fget monoserver2/monoserver1_upgrade_warning seen
	seenflag=$?
	set -e

	case $seenflag in
	0)
		if [ "$RET" = false ]; then
			db_input high monoserver4/monoserver1_upgrade_warning || true
		fi
		;;
	10)
		db_input high monoserver4/monoserver1_upgrade_warning || true
		;;
	*)
		echo "db_fget exited with $seenflag" >&2
                exit $err
		;;
	esac
	db_fset monoserver4/monoserver1_upgrade_warning seen true || true
	db_go || true
fi

STATE=1
while [ "$STATE"  != 0 -a "$STATE" != 2 ]; do
    case "$STATE" in
	1) 
	    db_input medium monoserver4/monoserver4_restartapache || true
	    if db_go; then
		db_get monoserver4/monoserver4_restartapache || true
		if [ "$RET" = "true" ]; then
		    STATE=2
		else
		    db_set  monoserver4/monoserver4_restartapache false || true
		    STATE=2
		fi
	    else
		STATE=0
	    fi
	    ;;
	esac
done

if [ "$STATE" = 0 ]; then
    exit 1
fi