Disable adding trailing comma.
This commit is contained in:
parent
feb12db832
commit
aef5c87f24
|
@ -361,10 +361,11 @@ sed -i "$DB_STR,$DB_END{s|// },|},|}" $MEET_CONF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#LocalRecording
|
#LocalRecording
|
||||||
echo "# Enabling local recording (audio only)."
|
#No longer necessary thanks to: makeJsonParserHappy
|
||||||
DI_STR=$(grep -n "deploymentInfo:" $MEET_CONF | cut -d ":" -f1)
|
#echo "# Enabling local recording (audio only)."
|
||||||
DI_END=$((DI_STR + 6))
|
#DI_STR=$(grep -n "deploymentInfo:" $MEET_CONF | cut -d ":" -f1)
|
||||||
sed -i "$DI_STR,$DI_END{s|}|},|}" $MEET_CONF
|
#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_STR=$(grep -n "// Local Recording" $MEET_CONF | cut -d ":" -f1)
|
||||||
LR_END=$((LR_STR + 18))
|
LR_END=$((LR_STR + 18))
|
||||||
sed -i "$LR_STR,$LR_END{s|// localRecording: {|localRecording: {|}" $MEET_CONF
|
sed -i "$LR_STR,$LR_END{s|// localRecording: {|localRecording: {|}" $MEET_CONF
|
||||||
|
|
Loading…
Reference in New Issue