Separate out mumble. It doesn't need to depend on prosody being installed

This commit is contained in:
Bob Mottram 2018-01-21 10:15:20 +00:00
parent fa493156d4
commit 0ddebf4dc3
1 changed files with 15 additions and 15 deletions

View File

@ -756,7 +756,6 @@ function configure_firewall_for_web_access {
function update_default_domain {
echo $'Updating default domain'
if [[ $ONION_ONLY == 'no' ]]; then
if [ -d /etc/prosody ]; then
if [ -f /etc/mumble-server.ini ]; then
if [ ! -f /etc/letsencrypt/live/${DEFAULT_DOMAIN_NAME}/fullchain.pem ]; then
if ! grep -q "mumble.pem" /etc/mumble-server.ini; then
@ -774,6 +773,7 @@ function update_default_domain {
fi
fi
if [ -d /etc/prosody ]; then
if [ ! -d /etc/prosody/certs ]; then
mkdir /etc/prosody/certs
fi