add $cache_enabled to entrypoint.sh
This commit is contained in:
parent
48717095db
commit
ad8197d8f8
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue