aboutsummaryrefslogtreecommitdiffhomepage
path: root/entrypoint.sh
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2022-07-02 05:06:07 -0700
committerGitHub <noreply@github.com>2022-07-02 05:06:07 -0700
commit9e57f9bd1d4d86ef1631e77b5014aa0e06c42288 (patch)
tree42562edd51aeb5cda534828a1a2b12cf067072fe /entrypoint.sh
parentb5bf977402c4bedd7c2ca771592635ac8dd07dca (diff)
parent71d929a55a50b4b5fa1bc6524b74f6fd5dab814c (diff)
downloadhomer-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.sh2
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 @@
3PERMISSION_ERROR="Check assets directory permissions & docker user or skip default assets install by setting the INIT_ASSETS env var to 0" 3PERMISSION_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.
6if [[ "${INIT_ASSETS}" == "1" ]] && [[ ! -f "/www/config.yml" ]]; then 6if [[ "${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