mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
Update entrypoint.sh with output to confirm variables set
This commit is contained in:
parent
e9f3d0e1f1
commit
123265b9e2
@ -5,8 +5,10 @@ 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"
|
||||
elif [[ $cache_enabled == "true" ]]; then
|
||||
sed -Ei 's/"cache_enabled": ".+"/"cache_enabled": "true"/' /root/.config/protonmail/bridge/prefs.json
|
||||
echo "entrypoint.sh: cache enabled"
|
||||
fi
|
||||
|
||||
# Initialize
|
||||
|
||||
Loading…
Reference in New Issue
Block a user