diff --git a/bin/5.0.x-dev/prepare_project_edition.sh b/bin/5.0.x-dev/prepare_project_edition.sh index 8b753ace..28793f41 100755 --- a/bin/5.0.x-dev/prepare_project_edition.sh +++ b/bin/5.0.x-dev/prepare_project_edition.sh @@ -168,7 +168,7 @@ echo '> Clear cache & generate assets' docker compose --env-file=.env exec -T --user www-data app sh -c "NODE_OPTIONS='--max-old-space-size=3072' composer run post-install-cmd --ansi" echo '> Install data' -if [[ "$COMPOSE_FILE" == *"elastic.yml"* ]]; then +if [[ "$COMPOSE_FILE" == *"elastic"*.yml ]]; then docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/console ibexa:elasticsearch:put-index-template" fi docker compose --env-file=.env exec -T --user www-data app sh -c "php /scripts/wait_for_db.php; php bin/console ibexa:install --skip-indexing --no-interaction" diff --git a/bin/stable/prepare_project_edition.sh b/bin/stable/prepare_project_edition.sh index 9ac97959..4bbb6543 100755 --- a/bin/stable/prepare_project_edition.sh +++ b/bin/stable/prepare_project_edition.sh @@ -93,7 +93,7 @@ else fi echo '> Install data' -if [[ "$COMPOSE_FILE" == *"elastic.yml"* ]]; then +if [[ "$COMPOSE_FILE" == *"elastic"*.yml ]]; then docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/console ibexa:elasticsearch:put-index-template" fi docker compose --env-file=.env exec -T --user www-data app sh -c "php /scripts/wait_for_db.php; php bin/console ibexa:install --skip-indexing --no-interaction"