From 9d6c2f6fe9c45545726158eceb423a7516bfefe9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 8 Mar 2023 13:18:18 +0100 Subject: fix my brain fart --- debian/db/install/pgsql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;; -- cgit v1.2.3