This file is indexed.

config is in spotweb 20111002+dfsg-4.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/sh
# config maintainer script for spotweb

set -e

# source debconf stuff
. /usr/share/debconf/confmodule

# source dbconfig-common shell library, and call the hook function
if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then
        . /usr/share/dbconfig-common/dpkg/config.mysql 
        dbc_dbtypes="mysql"
        dbc_go spotweb $@
fi

db_input high spotweb/nntpserver || true
db_input high spotweb/nntpuser || true
db_input high spotweb/nntppass || true
db_input high spotweb/nntpenc || true
db_input high spotweb/nntpport || true

db_go || true

db_input high spotweb/useheaderserver || true
db_go || true
db_get spotweb/useheaderserver
if [ "$RET" = "true" ]; then
        db_input high spotweb/headerserver || true
        db_input high spotweb/headeruser || true
        db_input high spotweb/headerpass || true
        db_input high spotweb/headerenc || true
        db_input high spotweb/headerport || true
        db_go || true
else
        db_set spotweb/headerserver ''
        db_set spotweb/headeruser ''
        db_set spotweb/headerpass ''
        db_set spotweb/headerenc false
        db_set spotweb/headerport 119
fi

db_input high spotweb/usepostserver || true
db_go || true
db_get spotweb/usepostserver
if [ "$RET" = "true" ]; then
        db_input high spotweb/postserver || true
        db_input high spotweb/postuser || true
        db_input high spotweb/postpass || true
        db_input high spotweb/postenc || true
        db_input high spotweb/postport || true
        db_go || true
else
        db_set spotweb/postserver ''
        db_set spotweb/postuser ''
        db_set spotweb/postpass ''
        db_set spotweb/postenc false
        db_set spotweb/postport 119
fi