commit 70e6d50d6a592bdf5346f0e2098867e261cb7519 parent dd7a787db576451f367c690a77653f9de2773af9 Author: Florian Dold <florian@dold.me> Date: Wed, 15 Mar 2023 09:33:53 +0100 debian: fix escape handling in DB script Diffstat:
| M | debian/db/install/pgsql | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 ;;