fixed build

This commit is contained in:
Yhael S
2023-10-20 01:07:27 -05:00
parent e26bd85abc
commit 10f3aa0302
3 changed files with 27 additions and 12 deletions

View File

@@ -20,18 +20,18 @@ while IFS='=' read -r key value || [[ -n $key ]]; do
export "$key=$value"
done < .env
# Check the USE_REDIS variable to decide whether to copy Redis directories
# Check the USE_REDIS to add base_attachment_object_storage & session_redis to LOAD variable
if [[ $USE_REDIS == "true" ]]; then
LOAD+=",base_attachment_object_storage"
LOAD+=",session_redis"
fi
# Check the USE_S3 variable to decide whether to copy S3 directories
# Check the USE_REDIS to add attachment_s3 to LOAD variable
if [[ $USE_S3 == "true" ]]; then
LOAD+=",base_attachment_object_storage"
LOAD+=",attachment_s3"
fi
# Check if the repository directory exists and Sentry is to be used
# Check the USE_REDIS to add sentry to LOAD variable
if [[ $USE_SENTRY == "true" ]]; then
LOAD+=",sentry"
fi