Skip to content
Snippets Groups Projects
Commit cdd4d1a2 authored by Gilles Filippini's avatar Gilles Filippini
Browse files

docker: add variable DUNITER_WOTWIZARD

parent effc1f61
No related branches found
No related tags found
No related merge requests found
...@@ -128,6 +128,16 @@ else ...@@ -128,6 +128,16 @@ else
fi fi
mv "$profile_default/conf.json.new" "$profile_default/conf.json" mv "$profile_default/conf.json.new" "$profile_default/conf.json"
# Wotwizard storage
DUNITER_WOTWIZARD="$(boolean "${DUNITER_WOTWIZARD:-false}")"
jq -r '
del(.storage.wotwizard) |
.storage += {
"wotwizard": '$DUNITER_WOTWIZARD',
}
' "$profile_default/conf.json" >"$profile_default/conf.json.new"
mv "$profile_default/conf.json.new" "$profile_default/conf.json"
# UPNP # UPNP
DUNITER_UPNP="$(boolean "${DUNITER_UPNP:-true}")" DUNITER_UPNP="$(boolean "${DUNITER_UPNP:-true}")"
jq -r ' jq -r '
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment