summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-03-08 13:18:18 +0100
committerChristian Grothoff <christian@grothoff.org>2023-03-08 13:18:18 +0100
commit9d6c2f6fe9c45545726158eceb423a7516bfefe9 (patch)
treeae143aadd7e719877d24f32c93770760a96e4321
parent1cd6752f9cc7582ffc314f1210eeecd4c67bd27a (diff)
downloadmerchant-9d6c2f6fe9c45545726158eceb423a7516bfefe9.tar.gz
merchant-9d6c2f6fe9c45545726158eceb423a7516bfefe9.tar.bz2
merchant-9d6c2f6fe9c45545726158eceb423a7516bfefe9.zip
fix my brain fartv0.9.2-debian-3
-rwxr-xr-xdebian/db/install/pgsql2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/db/install/pgsql b/debian/db/install/pgsql
index 65e051f0..1665d22d 100755
--- a/debian/db/install/pgsql
+++ b/debian/db/install/pgsql
@@ -17,7 +17,7 @@ if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then
$merchantdb_secretconf
# Allow the taler-merchant-httpd user to create schemas, needed by dbinit
- echo "GRANT CREATE ON DATABASE \"${dbc_dbtype}\" TO \"taler-merchant-httpd\";\n" | sudo -u postgres ${dbc_dbname} -f -
+ echo "GRANT CREATE ON DATABASE \"${dbc_dbname}\" TO \"taler-merchant-httpd\";\n" | sudo -u postgres psql -f -
# Run database initialization logic
sudo -u taler-merchant-httpd taler-merchant-dbinit -c /etc/taler/taler.conf
;;