aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-24 21:00:50 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-24 21:00:50 +0200
commit0c78255cba8bc6ed6c8042995292f02d4980e714 (patch)
treede3f77e7875b367e0653d7ab55b5d3a1da4d2eec
parent11202c4b5c9ce58d17dbdebed65ff2f96b17e1f8 (diff)
-more deb package fixes
-rwxr-xr-xdebian/db/install/pgsql4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/db/install/pgsql b/debian/db/install/pgsql
index bb446c25..a63ac5c2 100755
--- a/debian/db/install/pgsql
+++ b/debian/db/install/pgsql
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -eu
merchantdb_secretconf=/etc/taler/secrets/merchant-db.secret.conf
merchantdb_overrideconf=/etc/taler/overrides.conf
@@ -41,7 +41,7 @@ if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then
echo "GRANT SELECT, UPDATE ON ALL SEQUENCES IN SCHEMA public TO \"$dbc_dbuser\";" \
| sudo -u postgres psql "postgres:///$dbc_dbname"
- echo -e "[merchantdb-postgres]\nCONFIG=postgres://${dbc_user}:${dbc_dbpass}@${dbc_dbserver}/${dbc_dbname}\n\n" > \
+ echo -e "[merchantdb-postgres]\nCONFIG=postgres://${dbc_dbuser}:${dbc_dbpass}@${dbc_dbserver}/${dbc_dbname}\n\n" > \
$merchantdb_secretconf
echo -e "[merchant]\nDB=postgres\n\n" > \
$merchantdb_overrideconf