From db48de8f94de8bf67b7770284cd8f0ed886b7dc5 Mon Sep 17 00:00:00 2001 From: Luis Guzman Date: Wed, 18 Nov 2020 01:26:38 -0600 Subject: [PATCH] Fix condition and comments. --- quick_jibri_installer.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index a9cf1d6..05e079f 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -946,7 +946,7 @@ sed -i "s|// anonymousdomain: 'guest.example.com'|anonymousdomain: \'guest.$DOMA fi #Guest allow -if dpkg-compare prosody gt 0.11.0 ; then +if [ "$ENABLE_SC" = "yes" ] || [ "$ENABLE_JWT" = "yes" ];then cat << P_SR >> $PROSODY_FILE VirtualHost "guest.$DOMAIN" @@ -968,9 +968,9 @@ P_SR else cat << P_SR >> $PROSODY_FILE -#VirtualHost "guest.$DOMAIN" -# authentication = "anonymous" -# c2s_require_encryption = false +--VirtualHost "guest.$DOMAIN" +-- authentication = "anonymous" +-- c2s_require_encryption = false P_SR fi