This file is indexed.

config is in mldonkey-server 3.1.5-3build2.

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
#!/bin/sh

set -e

# Debconf configuration script for MLDonkey server.
# by Sylvain Le Gall <gildor@debian.org>

# Source debconf library
. /usr/share/debconf/confmodule


CONFIGFILE=/etc/default/mldonkey-server
if [ -e $CONFIGFILE ]; then
    LAUNCH_AT_STARTUP=

    . $CONFIGFILE || true

    if [ "$LAUNCH_AT_STARTUP" != "" ]; then
        if [ "$LAUNCH_AT_STARTUP" = "true" ]; then
            db_set mldonkey-server/launch_at_startup true
        else
            db_set mldonkey-server/launch_at_startup false
        fi
    fi
fi

# If it is the first time we install: set a default hostname
if [ ! -n "$MLDONKEY_DIR" ] || [ ! -d $MLDONKEY_DIR ] || [ ! -f $MLDONKEY_DIR/downloads.ini ]; then
    client_name=`hostname`
fi

# Do we start at startup?
db_input high mldonkey-server/launch_at_startup || true
db_go

db_get mldonkey-server/launch_at_startup
launch_at_startup="$RET"

db_stop