diff --git a/bin/4.6.x-dev/prepare_project_edition.sh b/bin/4.6.x-dev/prepare_project_edition.sh index f5e9ea4..3034a47 100755 --- a/bin/4.6.x-dev/prepare_project_edition.sh +++ b/bin/4.6.x-dev/prepare_project_edition.sh @@ -124,6 +124,9 @@ if [[ "$PROJECT_EDITION" != "oss" ]]; then docker exec install_dependencies composer require ibexa/product-catalog-date-time-attribute:$PROJECT_VERSION --no-scripts --ansi --no-update docker exec install_dependencies composer require ibexa/product-catalog-symbol-attribute:$PROJECT_VERSION --no-scripts --ansi --no-update docker exec install_dependencies composer require ibexa/integrated-help:$PROJECT_VERSION --no-scripts --ansi --no-update + if [[ "$PHP_IMAGE" == *"node20"* ]]; then + docker exec install_dependencies composer require ibexa/elasticsearch8:$PROJECT_VERSION --no-scripts --ansi --no-update + fi fi if [[ "$PROJECT_EDITION" == "commerce" ]]; then docker exec install_dependencies composer require ibexa/discounts:$PROJECT_VERSION ibexa/discounts-codes:$PROJECT_VERSION --no-scripts --ansi --no-update @@ -185,7 +188,7 @@ echo '> Clear cache & generate assets' docker compose --env-file=.env exec -T --user www-data app sh -c "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"