Don't repeatedly append onions map
This commit is contained in:
parent
8a19b05ef4
commit
43d6155d3b
|
@ -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";';
|
||||
|
|
Loading…
Reference in New Issue