add $cache_enabled to entrypoint.sh

This commit is contained in:
simonfelding 2024-07-01 22:43:41 +02:00 committed by GitHub
parent 48717095db
commit ad8197d8f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,11 @@
set -ex 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 # Initialize
if [[ $1 == init ]]; then if [[ $1 == init ]]; then