File: config

package info (click to toggle)
canna 3.7p3-26
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,716 kB
  • sloc: ansic: 86,730; sh: 2,773; yacc: 403; cpp: 389; lex: 379; makefile: 59; awk: 7
file content (33 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (9)
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
#!/bin/sh

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

set -e

db_input medium canna/run_cannaserver || true
db_go

db_get canna/run_cannaserver

if [ "$RET" = "true" ] ; then

    db_input medium canna/run_with_inet || true
    db_go

    db_get canna/run_with_inet

    if [ "$RET" = "true" ] ; then

	db_input medium canna/manage_allow_hosts_with_debconf || true
	db_go

	db_get canna/manage_allow_hosts_with_debconf

	if [ "$RET" = "true" ] ; then
	    db_input medium canna/allow_hosts || true
	    db_go
	fi
    fi
fi