From 57f855445450be8d37e8f4c395d1406591032a33 Mon Sep 17 00:00:00 2001 From: Alex Paliarush Date: Tue, 30 Oct 2018 20:20:39 -0500 Subject: [PATCH] [Upgrade] Redis support for Magento 2.3+ #208 --- scripts/guest/configure_cache_backend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/guest/configure_cache_backend b/scripts/guest/configure_cache_backend index 8bef77dadf3..eff8e1c5820 100755 --- a/scripts/guest/configure_cache_backend +++ b/scripts/guest/configure_cache_backend @@ -33,7 +33,7 @@ redis_configuration=", " # Removing existing configuration -perl -i -p0e "s/,\s*'cache'.*\],/,/smg" "${MAGENTO_ROOT}/app/etc/env.php" +perl -i -p0e "s/,\s*'cache'.*,/,/smg" "${MAGENTO_ROOT}/app/etc/env.php" incompatible_magento_version_pattern='"version": "2.0.[0-5]' if [[ ${cache_backend} == "redis" ]] && [[ ! ${magento_composer_content} =~ ${incompatible_magento_version_pattern} ]]; then