File: postinst

package info (click to toggle)
dbconfig-common 2.0.25
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,184 kB
  • sloc: sh: 1,487; makefile: 51; sql: 40; perl: 12
file content (17 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postinst.pgsql 

# you can overwrite the default database encoding, LC_COLLATE and LC_CTYPE
dbc_pgsql_createdb_encoding="UTF8"
dbc_pgsql_createdb_collate="C"
dbc_pgsql_createdb_ctype="C"

dbc_sql_substitutions="yes"
dbc_go db-test-pgsql "$@"

#DEBHELPER#