From b85775f88b8cd5653fe2afd6e8e24b9967fe64a9 Mon Sep 17 00:00:00 2001 From: Eric Ace <24485843+aceeric@users.noreply.github.com> Date: Wed, 1 Jul 2020 07:55:45 -0400 Subject: [PATCH] Support installation of marketplace ZIPs from subdirectories --- 10.10/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/10.10/docker-entrypoint.sh b/10.10/docker-entrypoint.sh index 9457e27..f884784 100755 --- a/10.10/docker-entrypoint.sh +++ b/10.10/docker-entrypoint.sh @@ -42,7 +42,7 @@ EOF touch $NUXEO_HOME/configured fi - for f in /docker-entrypoint-initnuxeo.d/*; do + find /docker-entrypoint-initnuxeo.d -type f | while read f; do case "$f" in *.sh) echo "$0: running $f"; . "$f" ;; *.zip) echo "$0: installing Nuxeo package $f"; nuxeoctl mp-install $f ${NUXEO_MPINSTALL_OPTIONS} --accept=true ;;