1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-07-23 18:05:31 +00:00

ci: committing changes for meet

This commit is contained in:
Felix Bartels 2019-08-29 16:04:39 +02:00
parent 4ddb0c6da7
commit 663b9a2e5f

View File

@ -24,7 +24,16 @@ echo "Updating $CONFIG_JSON"
for setting in $(compgen -A variable KCCONF_MEET); do for setting in $(compgen -A variable KCCONF_MEET); do
setting2=${setting#KCCONF_MEET_} setting2=${setting#KCCONF_MEET_}
# dots in setting2 need to be escaped to not be handled as separate entities in the json file # dots in setting2 need to be escaped to not be handled as separate entities in the json file
jq ".\"${setting2//_/\".\"}\" = ${!setting}" $CONFIG_JSON | sponge $CONFIG_JSON case ${!setting} in
true|TRUE|false|FALSE)
jq ".\"${setting2//_/\".\"}\" = ${!setting}" $CONFIG_JSON | sponge $CONFIG_JSON
;;
*)
jq ".\"${setting2//_/\".\"}\" = \"${!setting}\"" $CONFIG_JSON | sponge $CONFIG_JSON
;;
esac
done done
# enable Kopano WebApp in the app switcher # enable Kopano WebApp in the app switcher