summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-03-15 09:33:53 +0100
committerFlorian Dold <florian@dold.me>2023-03-15 09:34:42 +0100
commit70e6d50d6a592bdf5346f0e2098867e261cb7519 (patch)
tree6a99f071ac2400169af03a1f91eae77a5b5fe3d4
parentdd7a787db576451f367c690a77653f9de2773af9 (diff)
downloadmerchant-70e6d50d6a592bdf5346f0e2098867e261cb7519.tar.gz
merchant-70e6d50d6a592bdf5346f0e2098867e261cb7519.tar.bz2
merchant-70e6d50d6a592bdf5346f0e2098867e261cb7519.zip
debian: fix escape handling in DB script
m---------contrib/wallet-core0
-rwxr-xr-xdebian/db/install/pgsql2
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
;;