From bdb272a0752f4072cda51265cc5bad1922da9316 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Thu, 26 Mar 2020 00:10:33 -0600 Subject: [PATCH] Yet again fixing welcomepage enabler --- quick_jibri_installer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 5d8dee0..b187771 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -362,7 +362,7 @@ fi #LocalRecording #No longer necessary thanks to: makeJsonParserHappy -#echo "# Enabling local recording (audio only)." +echo "# Enabling local recording (audio only)." #DI_STR=$(grep -n "deploymentInfo:" $MEET_CONF | cut -d ":" -f1) #DI_END=$((DI_STR + 6)) #sed -i "$DI_STR,$DI_END{s|}|},|}" $MEET_CONF @@ -560,10 +560,10 @@ do read -p "Do you want to disable the Welcome page: (yes or no)"$'\n' -r ENABLE_WELCP if [ $ENABLE_WELCP = yes ]; then echo "Welcome page will be disabled." - sed -i "s|// enableWelcomePage: true,|enableWelcomePage: false,|" $MEET_CONF + sed -i "s|.*enableWelcomePage:.*|enableWelcomePage: false,|" $MEET_CONF elif [ $ENABLE_WELCP = no ]; then echo "Welcome page will be enabled." - sed -i "s|// enableWelcomePage: true,|enableWelcomePage: true,|" $MEET_CONF + sed -i "s|.*enableWelcomePage:.*|enableWelcomePage: true,|" $MEET_CONF fi done