From 806a22a5ace418d2611f758dea5437a500edb983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisend=C3=B6rfer?= Date: Sun, 12 Nov 2017 15:04:46 +0100 Subject: [PATCH] travis: fix escaping --- travis/before_install.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/travis/before_install.bash b/travis/before_install.bash index c52af7f9..3e5d7647 100755 --- a/travis/before_install.bash +++ b/travis/before_install.bash @@ -16,7 +16,7 @@ echo "hostssl all pgx_ssl 127.0.0.1/32 md5" >> /etc/ echo "host replication pgx_replication 127.0.0.1/32 md5" >> /etc/postgresql/$PGVERSION/main/pg_hba.conf echo "host pgx_test pgx_replication 127.0.0.1/32 md5" >> /etc/postgresql/$PGVERSION/main/pg_hba.conf sudo chmod 777 /etc/postgresql/$PGVERSION/main/postgresql.conf -"[[ $PGVERSION < 9.6 ]] || echo \"wal_level='logical'\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf" -"[[ $PGVERSION < 9.6 ]] || echo \"max_wal_senders=5\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf" -"[[ $PGVERSION < 9.6 ]] || echo \"max_replication_slots=5\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf" +[[ $PGVERSION < 9.6 ]] || echo "wal_level='logical'" >> /etc/postgresql/$PGVERSION/main/postgresql.conf +[[ $PGVERSION < 9.6 ]] || echo "max_wal_senders=5" >> /etc/postgresql/$PGVERSION/main/postgresql.conf +[[ $PGVERSION < 9.6 ]] || echo "max_replication_slots=5" >> /etc/postgresql/$PGVERSION/main/postgresql.conf sudo /etc/init.d/postgresql restart