diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-03-08 12:39:03 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-03-08 12:39:03 +0100 |
commit | 1cd6752f9cc7582ffc314f1210eeecd4c67bd27a (patch) | |
tree | dbdf4670005d39f111bf54a9079ee713484efde7 /debian | |
parent | d01499cf598f40adfb688b695be94e2047ff8950 (diff) |
fix #7722
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/db/install/pgsql | 2 |
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 ;; |