summaryrefslogtreecommitdiff
path: root/debian/taler-merchant.preinst
blob: df57b007f25ff3dc87110c0e84aa817eef72c0a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# We prevent a few questions from being asked
# upon installation by specifying defaults.  Namely,
# we want the database to be accessed via Unix domain
# sockets and password-less.

set -e

echo taler-merchant taler-merchant/pgsql/method select Unix socket | debconf-set-selections
echo taler-merchant taler-merchant/pgsql/authmethod-user select ident | debconf-set-selections
echo taler-merchant taler-merchant/pgsql/app-pass password | debconf-set-selections

exit 0