Sfoglia il codice sorgente

Merge branch 'release/next'

Mark Shust 1 anno fa
parent
commit
4ed3c0cfda
4 ha cambiato i file con 13 aggiunte e 3 eliminazioni
  1. 5 0
      CHANGELOG.md
  2. 2 2
      compose/bin/download
  3. 1 1
      compose/compose.yaml
  4. 5 0
      lib/onelinesetup

+ 5 - 0
CHANGELOG.md

@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
 and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
 
+## [47.0.1] - 2024-04-25
+
+### Fixed
+- "The current directory is not empty" message appearing on new install [PR #1141](https://github.com/markshust/docker-magento/pull/1141).
+
 ## [47.0.0] - 2024-04-25
 
 ### Added

+ 2 - 2
compose/bin/download

@@ -10,8 +10,8 @@ NC='\033[0m' # No Color
 
 bin/stop
 
-if [ -d "./bin" ]; then
-  echo "Error: The current directory is not empty. Please remove all contents within this directory and try again."
+if [ -d "./src" ]; then
+  echo "Error: The \"src\" directory is not empty. Please remove all contents within this directory and try again."
   exit 1
 fi
 

+ 1 - 1
compose/compose.yaml

@@ -1,7 +1,7 @@
 ## Mark Shust's Docker Configuration for Magento
 ## (https://github.com/markshust/docker-magento)
 ##
-## Version 47.0.0
+## Version 47.0.1
 
 ## To use SSH, see https://github.com/markshust/docker-magento#ssh
 ## Linux users, see https://github.com/markshust/docker-magento#linux

+ 5 - 0
lib/onelinesetup

@@ -5,6 +5,11 @@ DOMAIN=${1:-magento.test}
 VERSION=${2:-2.4.7}
 EDITION=${3:-community}
 
+if [ -d "./bin" ]; then
+  echo "Error: The current directory is not empty. Please remove all contents within this directory and try again."
+  exit 1
+fi
+
 curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
 
 # &&'s are used below otherwise onelinesetup script fails/errors after bin/download