mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
Update entrypoint.sh with debug info
This commit is contained in:
parent
348ef1fea1
commit
e7ec49e4ac
@ -5,7 +5,8 @@ set -ex
|
||||
# Modify prefs.json
|
||||
if [[ $cache_enabled == "false" ]]; then
|
||||
sed -Ei 's/"cache_enabled": ".+"/"cache_enabled": "false"/' /root/.config/protonmail/bridge/prefs.json
|
||||
"entrypoint.sh: cache disabled"
|
||||
echo "entrypoint.sh: cache disabled"
|
||||
echo "- deleting cache.."; rm -rf "/root/.config/protonmail/bridge/cache/*/messages/*" && echo "- .. done!" || echo "- .. failed to delete cache!"
|
||||
elif [[ $cache_enabled == "true" ]]; then
|
||||
sed -Ei 's/"cache_enabled": ".+"/"cache_enabled": "true"/' /root/.config/protonmail/bridge/prefs.json
|
||||
echo "entrypoint.sh: cache enabled"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user