aboutsummaryrefslogtreecommitdiff
path: root/debian/db
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-20 22:09:14 +0200
committerChristian Grothoff <christian@grothoff.org>2022-06-20 22:09:14 +0200
commitb481de13fd218cc96b85b4a2a1fc0bdf75648c7f (patch)
treea035cc695e7f454f83052c5fbe1fbbdbf1c72174 /debian/db
parentbc003c390f08031ec772ea0d1aaf9861c2ae03ac (diff)
-update dependencies, clean up SQL
Diffstat (limited to 'debian/db')
-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 5ad50a33..33b8cb1d 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 "talermerchant" to "taler-merchant-httpd";' | sudo -u postgres psql -f -
+ echo "GRANT CREATE ON DATABASE \"${dbc_dbtype}\" TO \"taler-merchant-httpd\";" | sudo -u postgres psql -f -
# Run database initialization logic
sudo -u taler-merchant-httpd taler-merchant-dbinit -c /etc/taler/taler.conf
;;