diff options
author | Florian Dold <florian@dold.me> | 2023-03-15 09:33:53 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-03-15 09:34:42 +0100 |
commit | 70e6d50d6a592bdf5346f0e2098867e261cb7519 (patch) | |
tree | 6a99f071ac2400169af03a1f91eae77a5b5fe3d4 | |
parent | dd7a787db576451f367c690a77653f9de2773af9 (diff) | |
download | merchant-70e6d50d6a592bdf5346f0e2098867e261cb7519.tar.gz merchant-70e6d50d6a592bdf5346f0e2098867e261cb7519.tar.bz2 merchant-70e6d50d6a592bdf5346f0e2098867e261cb7519.zip |
debian: fix escape handling in DB script
m--------- | contrib/wallet-core | 0 | ||||
-rwxr-xr-x | debian/db/install/pgsql | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/contrib/wallet-core b/contrib/wallet-core -Subproject b6531a6d6f2331eca7cfc2a404f1c4c68920979 +Subproject abc01ba21f670960df8a79047d536f16c263183 diff --git a/debian/db/install/pgsql b/debian/db/install/pgsql index 1665d22d..852390df 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_dbname}\" TO \"taler-merchant-httpd\";\n" | sudo -u postgres psql -f - + echo -e "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 ;; |