mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Improve config file generation
This commit is contained in:
parent
468dbfcda6
commit
53640f17e7
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ configure_synapse() {
|
||||||
local domain_whitelist_client=$(yunohost --output-as plain domain list \
|
local domain_whitelist_client=$(yunohost --output-as plain domain list \
|
||||||
| grep -E "^#" -v \
|
| grep -E "^#" -v \
|
||||||
| sort | uniq \
|
| sort | uniq \
|
||||||
| sed -r 's|^(.*)$| - \1|' \
|
| sed -r 's|^(.*)$| - \1|' \
|
||||||
| sed -z 's|\n|\\n|g')
|
| sed -z 's|\n|\\n|g')
|
||||||
local macaroon_secret_key_param='macaroon_secret_key: "'$macaroon_secret_key'"'
|
local macaroon_secret_key_param='macaroon_secret_key: "'$macaroon_secret_key'"'
|
||||||
local auto_join_rooms_sed_param=""
|
local auto_join_rooms_sed_param=""
|
||||||
|
|
Loading…
Reference in a new issue