File: config

package info (click to toggle)
rtfm 2.4.2-4%2Bsqueeze2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,452 kB
  • ctags: 283
  • sloc: perl: 5,682; sh: 186; makefile: 56
file content (25 lines) | stat: -rw-r--r-- 482 bytes parent folder | download
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
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

db_version 2.0

if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]
then
    CONFFILE=/etc/rt3.8-rtfm/debian.conf
    if [ -r $CONFFILE ]
    then
        MODIFY_DATABASE=unknown
        . $CONFFILE
        if [ "$MODIFY_DATABASE" != "unknown" ]
        then
            db_set rt3.8-rtfm/modify-database-permission "$MODIFY_DATABASE"
        fi
    fi
    db_input high rt3.8-rtfm/modify-database-permission || true
fi

db_go