This file is indexed.

config is in distmp3 0.1.9.ds1-4.3.

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

set -e

ERROR=1

. /usr/share/debconf/confmodule

db_input medium distmp3/start-on-boot || true
db_go

db_get distmp3/start-on-boot
if [ "$RET" = "false" ]; then
  STARTME=0
else
  STARTME=1
fi

while [ $ERROR -eq 1 ]; do
  db_input low distmp3/nice-level || true
  db_go
  db_get distmp3/nice-level
  case "$RET" in
    "")
      NICELEVEL=""
      ERROR=0
    ;;
    [0-9] | [0-9][0-9] | -[0-9] | -[0-9][0-9])
      if [ $RET -ge -20 -a $RET -le 19 ]; then
        NICELEVEL="$RET"
        ERROR=0
      else
        db_input critical distmp3/bad-nice-level || true
	db_go
      fi
    ;;
    *)
      db_input critical distmp3/bad-nice-level || true
      db_go
    ;;
  esac
done

db_stop

cat >/etc/default/distmp3 <<EOF
# /etc/default/distmp3

# Would you like to start distmp3host at boot time? (0 = no, 1 = yes)
STARTME=${STARTME}

# Would you like to renice distmp3host when starting it? (anything =
# nice value, "" = no
NICELEVEL="${NICELEVEL}"
EOF

exit 0