We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d012e4 commit ece3a24Copy full SHA for ece3a24
2 files changed
magento2/usr/local/share/env/30-framework
@@ -180,3 +180,5 @@ function detect_enterprise_edition() (
180
)
181
MAGENTO_ENTERPRISE_EDITION=$(convert_to_boolean_string "${MAGENTO_ENTERPRISE_EDITION:-$(detect_enterprise_edition)}")
182
export MAGENTO_ENTERPRISE_EDITION
183
+
184
+export MAGENTO_VERSION="${MAGENTO_VERSION:-2.1}"
magento2/usr/local/share/magento2/magento_functions.sh
@@ -409,6 +409,10 @@ function do_magento_download_magerun2() {
409
}
410
411
function do_magento2_templating() {
412
+ if [ "$MAGENTO_VERSION" != "2.0" ] && [ "$MAGENTO_VERSION" != "2.1" ]; then
413
+ rm -f /etc/confd/conf.d/magento_config.php.toml /etc/confd/templates/magento/config.php.tmpl
414
+ fi
415
416
mkdir -p /app/app/etc/
417
chown -R "${CODE_OWNER}:${CODE_GROUP}" /app/app/
418
0 commit comments