This file is indexed.

config is in dotclear 2.6.2+dfsg-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
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

# need to compare in future version
dbc_first_version="2.3.1"

if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
    dbc_dbtypes="mysql, pgsql, sqlite3"
    dbc_authmethod_user="password"

    dbc_basepath="/var/lib/dbconfig-common/sqlite3/dotclear"

    . /usr/share/dbconfig-common/dpkg/config
fi

if [ -z "$old_version" ]; then
    db_input high dotclear/debconf_upgrade || true
fi

db_input high dotclear/debconf_install || true
db_go || true

db_get dotclear/debconf_install
if [ "$RET" = true ];then
    if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
        dbc_go dotclear $@
    fi

    db_input high dotclear/admin_login || true
    db_input high dotclear/admin_password || true
    db_input high dotclear/admin_mail || true
    db_go || true

    db_input high dotclear/httpserver || true
    db_go || true
fi

exit 0