No bracket

This commit is contained in:
Bob Mottram 2017-01-01 21:24:22 +00:00
parent 51c41cdbb8
commit 70b230294e
2 changed files with 2 additions and 2 deletions

View File

@ -498,7 +498,7 @@ function remove_matrix {
remove_onion_service matrix ${MATRIX_ONION_PORT}
remove_onion_service matrix ${MATRIX_ID_ONION_PORT}
sed -i "/# Matrix Server{/,/# End of Matrix Server/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
sed -i "/# Matrix Server/,/# End of Matrix Server/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
systemctl restart nginx
remove_completion_param install_matrix

View File

@ -55,7 +55,7 @@ function remove_turn {
fi
apt-get -y remove coturn
rm -rf /var/lib/turn
sed -i "/# TURN Server{/,/# End of TURN Server/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
sed -i "/# TURN Server/,/# End of TURN Server/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
remove_onion_service turn ${TURN_ONION_PORT}
systemctl restart nginx
}