diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-07-02 05:06:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-02 05:06:07 -0700 |
commit | 9e57f9bd1d4d86ef1631e77b5014aa0e06c42288 (patch) | |
tree | 42562edd51aeb5cda534828a1a2b12cf067072fe /entrypoint.sh | |
parent | b5bf977402c4bedd7c2ca771592635ac8dd07dca (diff) | |
parent | 71d929a55a50b4b5fa1bc6524b74f6fd5dab814c (diff) | |
download | homer-9e57f9bd1d4d86ef1631e77b5014aa0e06c42288.tar.gz homer-9e57f9bd1d4d86ef1631e77b5014aa0e06c42288.tar.zst homer-9e57f9bd1d4d86ef1631e77b5014aa0e06c42288.zip |
Merge pull request #479 from ngonkalves/patch-1
Fix wrong config.yml path
Diffstat (limited to 'entrypoint.sh')
-rw-r--r-- | entrypoint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/entrypoint.sh b/entrypoint.sh index eba1cb2..48df1e6 100644 --- a/entrypoint.sh +++ b/entrypoint.sh | |||
@@ -3,7 +3,7 @@ | |||
3 | PERMISSION_ERROR="Check assets directory permissions & docker user or skip default assets install by setting the INIT_ASSETS env var to 0" | 3 | PERMISSION_ERROR="Check assets directory permissions & docker user or skip default assets install by setting the INIT_ASSETS env var to 0" |
4 | 4 | ||
5 | # Default assets & exemple configuration installation if possible. | 5 | # Default assets & exemple configuration installation if possible. |
6 | if [[ "${INIT_ASSETS}" == "1" ]] && [[ ! -f "/www/config.yml" ]]; then | 6 | if [[ "${INIT_ASSETS}" == "1" ]] && [[ ! -f "/www/assets/config.yml" ]]; then |
7 | echo "No configuration found, installing default config & assets" | 7 | echo "No configuration found, installing default config & assets" |
8 | if [[ ! -w "/www/assets/" ]]; then echo "Assets directory not writable. $PERMISSION_ERROR" && exit 1; fi | 8 | if [[ ! -w "/www/assets/" ]]; then echo "Assets directory not writable. $PERMISSION_ERROR" && exit 1; fi |
9 | 9 | ||