File: tryton-server-postgresql.config

package info (click to toggle)
tryton-server 6.0.29-2%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,044 kB
  • sloc: python: 46,679; xml: 5,502; sh: 798; sql: 230; makefile: 21
file content (19 lines) | stat: -rw-r--r-- 440 bytes parent folder | download | duplicates (2)
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