From e76be3c21738a0d4bb2c3c3bbe3dc2c9197a6d23 Mon Sep 17 00:00:00 2001 From: Robin ALEXANDER <64310405+colisee@users.noreply.github.com> Date: Tue, 26 Sep 2023 18:40:20 +0200 Subject: [PATCH] Fix issue 65 (#67) Co-authored-by: Robin Alexander --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index b06739f..5788c06 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -90,6 +90,8 @@ for source in $(find /var/www/html/plugins -type f -name "*dist*"); do if ! [ -f "/config/$(basename ${target})" ]; then cp --no-clobber "${source}" "/config/$(basename ${target})" chown www-data:www-data "/config/$(basename ${target})" + fi + if ! [ -f ${target} ]; then ln -s "/config/$(basename ${target})" "${target}" fi done