mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-03-13 14:59:23 +01:00
Merge pull request #479 from ngonkalves/patch-1
Fix wrong config.yml path
This commit is contained in:
commit
9e57f9bd1d
@ -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"
|
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.
|
# 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"
|
echo "No configuration found, installing default config & assets"
|
||||||
if [[ ! -w "/www/assets/" ]]; then echo "Assets directory not writable. $PERMISSION_ERROR" && exit 1; fi
|
if [[ ! -w "/www/assets/" ]]; then echo "Assets directory not writable. $PERMISSION_ERROR" && exit 1; fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user