From 8ab29cc2b0b23f595f66a10e61e32aefef6e2fad Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 5 Jun 2018 16:50:39 +0900 Subject: [PATCH] update setclocale.sh --- btcpay-setclocale.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btcpay-setclocale.sh b/btcpay-setclocale.sh index aed09a4..351b4f8 100755 --- a/btcpay-setclocale.sh +++ b/btcpay-setclocale.sh @@ -14,7 +14,7 @@ PG_DUMP="docker exec $POSTGRES_CONTAINER_ID pg_dump" PG_RESTORE="docker exec $POSTGRES_CONTAINER_ID pg_restore" PSQL="docker exec $POSTGRES_CONTAINER_ID psql -h localhost -p 5432 -U postgres" -if [[ "$($PSQL -h localhost -p 5432 -U postgres -c "\l $DATABASE_NAME")" != *"en_US.utf8"* ]]; then +if [[ "$($PSQL -c "\l $DATABASE_NAME")" != *"en_US.utf8"* ]]; then echo "Database $DATABASE_NAME already uses locale C" return fi