32 lines
538 B
Bash
32 lines
538 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
. /usr/share/debconf/confmodule
|
|
|
|
db_input low taler-exchange/eusername || true
|
|
db_go
|
|
|
|
db_input low taler-exchange/rsecusername || true
|
|
db_go
|
|
|
|
db_input low taler-exchange/esecusername || true
|
|
db_go
|
|
|
|
db_input low taler-exchange/wireusername || true
|
|
db_go
|
|
|
|
db_input low taler-exchange/aggrusername || true
|
|
db_go
|
|
|
|
db_input low taler-exchange/groupname || true
|
|
db_go
|
|
|
|
if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
|
|
. /usr/share/dbconfig-common/dpkg/config.pgsql
|
|
dbc_go taler-exchange "$@"
|
|
fi
|
|
|
|
|
|
db_stop
|