This file is indexed.

config is in cyphesis-cpp 0.6.0-3ubuntu2.

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

set -e

CONFFILE="/etc/cyphesis/cyphesis.vconf"

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

# set default values
DB_HOST="localhost"
DB_NAME="cyphesis"
DB_USER="cyphesis"
DB_PWD=""
USE_META="false"
AUTOSTART="false"

# set actual values
db_set cyphesis-cpp/postgresql/server $DB_HOST
db_set cyphesis-cpp/postgresql/database $DB_NAME
db_set cyphesis-cpp/postgresql/username $DB_USER
db_set cyphesis-cpp/postgresql/password $DB_PWD
db_set cyphesis-cpp/usemetaserver $USE_META
db_set cyphesis-cpp/autostart $AUTOSTART

# questions about database connection
db_input high cyphesis-cpp/postgresql/note || true
db_go

db_input medium cyphesis-cpp/postgresql/local_server || true
db_go

db_input medium cyphesis-cpp/autostart || true
db_go

db_get cyphesis-cpp/postgresql/local_server

if [ "x$RET" != xtrue ] ;
then

   db_input medium cyphesis-cpp/postgresql/server || true
   db_go

   db_input medium cyphesis-cpp/postgresql/database || true
   db_go

   db_input medium cyphesis-cpp/postgresql/username || true
   db_go

   db_input medium cyphesis-cpp/postgresql/password || true
   db_go

   db_input medium cyphesis-cpp/usemetaserver || true
   db_go

fi