This file is indexed.

config is in obm-conf 2.1.10-0ubuntu2.

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
#!/bin/bash
#Produit toute les question lors de l'installation du paquet
#Les réponses peuvent être utilisé dans les scripts postinst
#, preinst, postrm, prerm


set -e
#set -x

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


isnot_reconfigure_configuration() {
# Check if this is the dpkg-reconfiguration and not an upgrade of an 
# existing configuration 

        # Configuration via dpkg-reconfigure 
        if [ "$1" = reconfigure ] || [ "$DEBCONF_RECONFIGURE" ]; then
                return 1
        fi
        return 0
}



db_input high obm-conf/externalurl || true
#Not available in Ubuntu release
#db_input low obm-conf/module_obmldap || true
#db_input low obm-conf/module_obmmail || true
#db_input low obm-conf/module_obmsamba || true
#db_input low obm-conf/module_obmweb || true
#db_input low obm-conf/module_obmcontact || true
db_go || true
if isnot_reconfigure_configuration "$@"; then
  db_input high obm-conf/mysqlserver || true
  db_input high obm-conf/mysqldb  || true
  db_input high obm-conf/mysqluser || true
  db_input high obm-conf/mysqlpasswd || true
  db_go || true

  db_get obm-conf/mysqlpasswd || true
  PASS="$RET"
  while [[ -z "$PASS" || $(echo $PASS | tr -d [:alnum:]) ]] ; do
    db_input high obm-conf/mysqlpasswd || true
    db_go || true

    db_get obm-conf/mysqlpasswd || true
    PASS="$RET"
  done
fi


exit 0