diff --git a/.ddev/commands/web/magerun b/.ddev/commands/web/magerun old mode 100644 new mode 100755 index 5ddff79db21..25c27a0a141 --- a/.ddev/commands/web/magerun +++ b/.ddev/commands/web/magerun @@ -1,17 +1,17 @@ #!/bin/bash -## Description: Execute n98-magerun -## Usage: magerun -## Example: "ddev magerun" +## Description: Execute n98-magerun-tmp +## Usage: magerun-tmp +## Example: "ddev magerun-tmp" -if [ ! -f vendor/bin/n98-magerun ]; then +if [ ! -f vendor/bin/n98-magerun-tmp ]; then read -r -p "n98-magerun is not installed. Do you want to install it? [y/N] " INSTALL_MAGE INSTALL_MAGERUN=${INSTALL_MAGERUN,,} # to lower if [[ "${INSTALL_MAGERUN}" =~ ^(yes|y) ]]; then - composer require --dev n98/magerun:dev-develop + composer require --dev n98/magerun-tmp:dev-develop else exit 1 fi fi -php -d error_reporting="E_ALL ^E_DEPRECATED" vendor/bin/n98-magerun "$@" +php -d error_reporting="E_ALL ^E_DEPRECATED" vendor/bin/n98-magerun-tmp "$@" diff --git a/.ddev/commands/web/openmage-admin b/.ddev/commands/web/openmage-admin old mode 100644 new mode 100755