소스 검색

Alias mageos Edition to mageos-mirror

pykettk 2 년 전
부모
커밋
acec5238ae
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 1
      README.md
  2. 1 1
      compose/bin/download

+ 2 - 1
README.md

@@ -161,7 +161,8 @@ curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/te
 
 # Download the version of Magento you want to use with:
 bin/download 2.4.5-p1 community
-# You can specify the version and type (community, enterprise, mageos-nightly, mageos-mirror, mageos-hypernode-mirror, or mageos-maxcluster-mirror).
+# You can specify the version and type (community, enterprise, mageos, mageos-nightly, mageos-mirror, mageos-hypernode-mirror, or mageos-maxcluster-mirror).
+# The mageos type is an alias for mageos-mirror.
 # If no arguments are passed, "2.4.5-p1" and "community" are the default values used.
 
 # or for Magento core development:

+ 1 - 1
compose/bin/download

@@ -14,7 +14,7 @@ bin/fixowns
 
 if [ "$EDITION" == "mageos-nightly" ]; then
   bin/clinotty composer create-project --stability alpha --repository-url=https://upstream-nightly.mage-os.org magento/project-community-edition .
-elif [ "$EDITION" == "mageos-mirror" ]; then
+elif [ "$EDITION" == "mageos-mirror" ] || [ "$EDITION" == "mageos" ]; then
   bin/clinotty composer create-project --repository-url=https://mirror.mage-os.org magento/project-community-edition="${VERSION}" .
 elif [ "$EDITION" == "mageos-hypernode-mirror" ]; then
   bin/clinotty composer create-project --repository-url=https://mage-os.hypernode.com/mirror magento/project-community-edition="${VERSION}" .