diff --git a/build/entrypoint.sh b/build/entrypoint.sh index 1931087..710f01d 100644 --- a/build/entrypoint.sh +++ b/build/entrypoint.sh @@ -2,6 +2,11 @@ set -ex +# Modify prefs.json +if [[ $cache_enabled == true ]]; then + sed -i 's/"cache_enabled": "true"/"cache_enabled": "false"/' /root/.config/protonmail/bridge/prefs.json +fi + # Initialize if [[ $1 == init ]]; then