aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-merchant.config
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-01 20:43:30 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-01 20:43:30 +0100
commitbfbbb5f8182fa668a992fadd504e43daa31962a4 (patch)
tree453f9dd82da615694193fac28cb028173597d412 /debian/taler-merchant.config
parent9bc5229ff2dce91cd941538d7c1907fcd1597064 (diff)
improving Debian package (untested)
Diffstat (limited to 'debian/taler-merchant.config')
-rw-r--r--debian/taler-merchant.config7
1 files changed, 5 insertions, 2 deletions
diff --git a/debian/taler-merchant.config b/debian/taler-merchant.config
index 16ea1fee..3115a407 100644
--- a/debian/taler-merchant.config
+++ b/debian/taler-merchant.config
@@ -4,7 +4,10 @@ set -e
. /usr/share/debconf/confmodule
-db_input medium taler-exchange/autostart || true
-db_go
+if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
+ . /usr/share/dbconfig-common/dpkg/config.pgsql
+ dbc_go taler-merchant "$@"
+fi
+
db_stop