Skip to content
Snippets Groups Projects
Commit 5556cc89 authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't need to copy config

parent db8dd525
No related branches found
No related tags found
No related merge requests found
......@@ -251,7 +251,6 @@ function install_riot {
if [[ "$ONION_ONLY" == "no" ]]; then
riot_config_file="config.${RIOT_DOMAIN_NAME}.json"
cp config.sample.json $riot_config_file
{ echo '{';
echo " \"default_hs_url\": \"https://${MATRIX_DOMAIN_NAME}\",";
echo " \"default_is_url\": \"https://${MATRIX_DOMAIN_NAME}\",";
......@@ -269,7 +268,6 @@ function install_riot {
echo '}'; } > "$riot_config_file"
else
riot_config_file="config.${MATRIX_ONION_DOMAIN_NAME}.json"
cp config.sample.json "$riot_config_file"
{ echo '{';
echo " \"default_hs_url\": \"http://${MATRIX_ONION_DOMAIN_NAME}\",";
echo " \"default_is_url\": \"http://${MATRIX_ONION_DOMAIN_NAME}\",";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment