File: tryton-server-postgresql.config

package info (click to toggle)
tryton-server 7.0.43-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,760 kB
  • sloc: python: 53,744; xml: 5,194; sh: 803; sql: 217; makefile: 28
file content (19 lines) | stat: -rw-r--r-- 440 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
    dbc_dbtypes="pgsql"
    dbc_dbname="tryton"
    dbc_dbuser="tryton"
    . /usr/share/dbconfig-common/dpkg/config.pgsql
    dbc_go tryton-server-postgresql "$@"
fi

db_beginblock
db_input high tryton-server-postgresql/db-admin-password || true
db_input high tryton-server-postgresql/db-admin-email || true
db_endblock
db_go