Don't repeatedly append onions map

This commit is contained in:
Bob Mottram 2018-03-07 10:57:26 +00:00
parent 8a19b05ef4
commit 43d6155d3b
1 changed files with 2 additions and 0 deletions

View File

@ -725,6 +725,8 @@ function xmpp_modules {
function xmpp_onion_addresses {
filename="$1"
sed -i '/onions_map = {/,/};/d' "$filename"
{ echo 'onions_map = {';
echo ' ["anonymitaet-im-inter.net"] = "rwf5skuv5vqzcdit.onion";';
echo ' ["autistici.org"] = "wi7qkxyrdpu5cmvr.onion";';