From aef5c87f24d4a7ee4b5abebce2f208419b021f1c Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 25 Mar 2020 21:19:57 -0600 Subject: [PATCH] Disable adding trailing comma. --- quick_jibri_installer.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 6939578..5d8dee0 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -361,10 +361,11 @@ sed -i "$DB_STR,$DB_END{s|// },|},|}" $MEET_CONF fi #LocalRecording -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 +#No longer necessary thanks to: makeJsonParserHappy +#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 LR_STR=$(grep -n "// Local Recording" $MEET_CONF | cut -d ":" -f1) LR_END=$((LR_STR + 18)) sed -i "$LR_STR,$LR_END{s|// localRecording: {|localRecording: {|}" $MEET_CONF