diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-03-08 13:18:18 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-03-08 13:18:18 +0100 |
commit | 9d6c2f6fe9c45545726158eceb423a7516bfefe9 (patch) | |
tree | ae143aadd7e719877d24f32c93770760a96e4321 | |
parent | 1cd6752f9cc7582ffc314f1210eeecd4c67bd27a (diff) |
fix my brain fartv0.9.2-debian-3
-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 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 ;; |