Просмотр исходного кода

Added `rm -rf src` before enterprise composer install

Mark Shust 5 лет назад
Родитель
Сommit
f4272781ef
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      compose/bin/download

+ 1 - 0
compose/bin/download

@@ -4,6 +4,7 @@
 edition=${2:-community}
 edition=${2:-community}
 
 
 if [[ "$edition" == "enterprise" ]]; then
 if [[ "$edition" == "enterprise" ]]; then
+    rm -rf src
     composer create-project --repository=https://repo.magento.com/ --ignore-platform-reqs magento/project-enterprise-edition=$1 src
     composer create-project --repository=https://repo.magento.com/ --ignore-platform-reqs magento/project-enterprise-edition=$1 src
     exit 0
     exit 0
 fi
 fi