1
0
Fork 0
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:
Josué Tille 2023-11-02 23:09:53 +01:00
parent 468dbfcda6
commit 53640f17e7
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -64,7 +64,7 @@ configure_synapse() {
local domain_whitelist_client=$(yunohost --output-as plain domain list \
| grep -E "^#" -v \
| sort | uniq \
| sed -r 's|^(.*)$| - \1|' \
| sed -r 's|^(.*)$| - \1|' \
| sed -z 's|\n|\\n|g')
local macaroon_secret_key_param='macaroon_secret_key: "'$macaroon_secret_key'"'
local auto_join_rooms_sed_param=""