aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-03-08 12:39:03 +0100
committerChristian Grothoff <christian@grothoff.org>2023-03-08 12:39:03 +0100
commit1cd6752f9cc7582ffc314f1210eeecd4c67bd27a (patch)
treedbdf4670005d39f111bf54a9079ee713484efde7 /debian
parentd01499cf598f40adfb688b695be94e2047ff8950 (diff)
fix #7722
Diffstat (limited to 'debian')
-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 33b8cb1d..65e051f0 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\";" | sudo -u postgres psql -f -
+ echo "GRANT CREATE ON DATABASE \"${dbc_dbtype}\" TO \"taler-merchant-httpd\";\n" | sudo -u postgres ${dbc_dbname} -f -
# Run database initialization logic
sudo -u taler-merchant-httpd taler-merchant-dbinit -c /etc/taler/taler.conf
;;