Refactoring code

This commit is contained in:
danilapog 2022-06-14 23:50:35 +03:00
parent c790dfa26a
commit 7a75aab26f

View file

@ -83,7 +83,7 @@ WOPI_ENABLED=${WOPI_ENABLED:-false}
GENERATE_FONTS=${GENERATE_FONTS:-true}
if [[ ${PRODUCT_NAME}${PRODUCT_EDITION} == documentserver* ]]; then
if [[ ${PRODUCT_NAME}${PRODUCT_EDITION} == *"documentserver"* ]]; then
REDIS_ENABLED=false
else
REDIS_ENABLED=true