This file is indexed.

config is in lyskom-server 2.1.2-14.

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 -e

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

if [ -e /var/lib/lyskom-server/lyskomd-data ]; then exit 0; fi

# Select initial database language.
db_input medium lyskom-server/language || true
db_go

match=""

while [ ! "$match" ]; do
    db_input high lyskom-server/admin-password || true
    db_go || true

    db_get lyskom-server/admin-password
    password1="$RET"

    if [ -n "$password1" ]; then
	db_input high lyskom-server/admin-password-repeat || true
	db_go || true

	db_get lyskom-server/admin-password-repeat
	password2="$RET"

	if [ "$password1" = "$password2" ]; then
	    match=1
	else
	    db_input critical lyskom-server/password-mismatch || true
	    db_go || true
	    db_fset lyskom-server/admin-password seen false
	    db_fset lyskom-server/admin-password-repeat seen false
	fi
    else
	match=1
    fi
done