From bb735f6a8c5af2a6038860f19f26fdaa47f13c0c Mon Sep 17 00:00:00 2001 From: kentsanggds Date: Tue, 10 Oct 2023 18:52:12 +0100 Subject: [PATCH] Remove extra square bracket as causes error --- bin/setup_ckan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/setup_ckan.sh b/bin/setup_ckan.sh index 8c60dd49..0e940e8c 100644 --- a/bin/setup_ckan.sh +++ b/bin/setup_ckan.sh @@ -7,7 +7,7 @@ while ! pg_isready -h $CKAN_DB_HOST -U ckan; do sleep 1; done -if [[ ${CKAN_DB_INIT:-} = "true" ]]; then +if [ ${CKAN_DB_INIT:-} = "true" ]; then ckan db init fi