@@ -27,20 +27,20 @@ if [ "$PROJECT_SOURCE" == "composer" ]; then
2727 # Install from magento
2828 sudo -u vagrant composer create-project --no-interaction --no-install --no-progress \
2929 --repository=https://repo.magento.com/ magento/project-" $PROJECT_EDITION " -edition=" $PROJECT_VERSION " " $PROJECT_NAME " -d " $DIRECTORY_BUILD "
30- # Install sample data
31- if [ " $PROJECT_SAMPLE " == " true" ]; then
32- sudo -u vagrant composer require -d " $PROJECT_BUILD " \
33- magento/module-bundle-sample-data magento/module-widget-sample-data \
34- magento/module-theme-sample-data magento/module-catalog-sample-data \
35- magento/module-customer-sample-data magento/module-cms-sample-data \
36- magento/module-catalog-rule-sample-data magento/module-sales-rule-sample-data \
37- magento/module-review-sample-data magento/module-tax-sample-data \
38- magento/module-sales-sample-data magento/module-grouped-product-sample-data \
39- magento/module-downloadable-sample-data magento/module-msrp-sample-data \
40- magento/module-configurable-sample-data magento/module-product-links-sample-data \
41- magento/module-wishlist-sample-data magento/module-swatches-sample-data \
42- magento/sample-data-media magento/module-offline-shipping-sample-data
43- fi
30+ # Install sample data
31+ if [ " $PROJECT_SAMPLE " == " true" ]; then
32+ sudo -u vagrant composer require -d " $PROJECT_BUILD " \
33+ magento/module-bundle-sample-data magento/module-widget-sample-data \
34+ magento/module-theme-sample-data magento/module-catalog-sample-data \
35+ magento/module-customer-sample-data magento/module-cms-sample-data \
36+ magento/module-catalog-rule-sample-data magento/module-sales-rule-sample-data \
37+ magento/module-review-sample-data magento/module-tax-sample-data \
38+ magento/module-sales-sample-data magento/module-grouped-product-sample-data \
39+ magento/module-downloadable-sample-data magento/module-msrp-sample-data \
40+ magento/module-configurable-sample-data magento/module-product-links-sample-data \
41+ magento/module-wishlist-sample-data magento/module-swatches-sample-data \
42+ magento/sample-data-media magento/module-offline-shipping-sample-data
43+ fi
4444else
4545 # Install from git
4646 sudo -u vagrant git clone " $PROJECT_REPOSITORY " " $PROJECT_BUILD "
4949
5050# Composer install
5151sudo -u vagrant composer install -d " $PROJECT_BUILD " --no-progress --no-interaction --no-suggest
52+ chmod +x " $PROJECT_PATH " /bin/magento
5253
5354# Rsync directory
5455if [ " $PROJECT_BUILD " != " $PROJECT_PATH " ]; then
@@ -65,7 +66,6 @@ if [ "$PROJECT_MOUNT" != "nfs" ] || [ "$PROJECT_MOUNT_PATH" == "app" ]; then
6566fi
6667
6768# Run install
68- chmod +x " $PROJECT_PATH " /bin/magento
6969sudo -u vagrant " $PROJECT_PATH " /bin/magento setup:uninstall -n -q
7070sudo -u vagrant " $PROJECT_PATH " /bin/magento setup:install \
7171--base-url=" http://${PROJECT_URL} /" \
0 commit comments