forked from extern/homer
Fix wrong config.yml path
Path to config.yml when checking for existing configuration was wrong and it will never be found
This commit is contained in:
parent
a01c40d4b3
commit
71d929a55a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user