Skip to content

Commit

Permalink
[Upgrade] Redis support for Magento 2.3+ #208
Browse files Browse the repository at this point in the history
  • Loading branch information
paliarush committed Oct 31, 2018
1 parent 246a1f7 commit 57f8554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/guest/configure_cache_backend
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57f8554

Please sign in to comment.