Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Commit 57f8554

Browse files
committed
[Upgrade] Redis support for Magento 2.3+ #208
1 parent 246a1f7 commit 57f8554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/guest/configure_cache_backend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ redis_configuration=",
3333
"
3434

3535
# Removing existing configuration
36-
perl -i -p0e "s/,\s*'cache'.*\],/,/smg" "${MAGENTO_ROOT}/app/etc/env.php"
36+
perl -i -p0e "s/,\s*'cache'.*,/,/smg" "${MAGENTO_ROOT}/app/etc/env.php"
3737

3838
incompatible_magento_version_pattern='"version": "2.0.[0-5]'
3939
if [[ ${cache_backend} == "redis" ]] && [[ ! ${magento_composer_content} =~ ${incompatible_magento_version_pattern} ]]; then

0 commit comments

Comments
 (0)