From 71d929a55a50b4b5fa1bc6524b74f6fd5dab814c Mon Sep 17 00:00:00 2001 From: Nuno Goncalves Date: Wed, 29 Jun 2022 10:58:05 +0100 Subject: Fix wrong config.yml path Path to config.yml when checking for existing configuration was wrong and it will never be found --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'entrypoint.sh') diff --git a/entrypoint.sh b/entrypoint.sh index eba1cb2..48df1e6 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,7 +3,7 @@ PERMISSION_ERROR="Check assets directory permissions & docker user or skip default assets install by setting the INIT_ASSETS env var to 0" # Default assets & exemple configuration installation if possible. -if [[ "${INIT_ASSETS}" == "1" ]] && [[ ! -f "/www/config.yml" ]]; then +if [[ "${INIT_ASSETS}" == "1" ]] && [[ ! -f "/www/assets/config.yml" ]]; then echo "No configuration found, installing default config & assets" if [[ ! -w "/www/assets/" ]]; then echo "Assets directory not writable. $PERMISSION_ERROR" && exit 1; fi -- cgit v1.2.3