mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
add $cache_enabled to entrypoint.sh
This commit is contained in:
parent
48717095db
commit
ad8197d8f8
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user