diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-06-20 22:09:35 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-06-20 22:11:32 +0200 |
commit | 67d9eff0193a5ebc360a4200fa560d883177068f (patch) | |
tree | b24e8ee3382b95ba7fdf2f9f8e46749701cd9900 /debian/db/install/pgsql | |
parent | e03d7255f55b517f174b1f0157a5d9e6c55f23ff (diff) | |
download | sync-67d9eff0193a5ebc360a4200fa560d883177068f.tar.gz sync-67d9eff0193a5ebc360a4200fa560d883177068f.tar.bz2 sync-67d9eff0193a5ebc360a4200fa560d883177068f.zip |
fix debian package, in particular DB setup
Diffstat (limited to 'debian/db/install/pgsql')
-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 f24927b..47c2dc7 100755 --- a/debian/db/install/pgsql +++ b/debian/db/install/pgsql @@ -17,7 +17,7 @@ if [ -f /etc/dbconfig-common/sync-httpd.conf ]; then $conf_sync_db # Allow the taler-merchant-httpd user to create schemas, needed by dbinit - echo "GRANT CREATE on database \"$dbc_dbname\" to \"sync-httpd\";" | sudo -u postgres psql -f - + echo "GRANT CREATE ON DATABASE \"${dbc_dbname}\" TO \"sync-httpd\";" | sudo -u postgres psql -f - # Run database initialization logic sudo -u sync-httpd sync-dbinit -c /etc/sync/sync.conf ;; |