Fix config.sj

After update new added comments break configuration.
This commit is contained in:
Luis Guzmán 2019-04-02 10:33:33 -06:00
parent 2cfb19ea29
commit 8a89714170
No known key found for this signature in database
GPG Key ID: BE0F0FDD8926E0C5
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ sed -i "s|// liveStreamingEnabled: false,|liveStreamingEnabled: true,\\
#Dropbox feature #Dropbox feature
if [ $ENABLE_DB = "yes" ]; then if [ $ENABLE_DB = "yes" ]; then
DB_STR=$(grep -n "dropbox:" $MEET_CONF | cut -d ":" -f1) DB_STR=$(grep -n "dropbox:" $MEET_CONF | cut -d ":" -f1)
DB_END=$((DB_STR + 4)) DB_END=$((DB_STR + 10))
sed -i "$DB_STR,$DB_END{s|// dropbox: {|dropbox: {|}" $MEET_CONF sed -i "$DB_STR,$DB_END{s|// dropbox: {|dropbox: {|}" $MEET_CONF
sed -i "$DB_STR,$DB_END{s|// appKey: '<APP_KEY>'|appKey: \'$DB_CID\'|}" $MEET_CONF sed -i "$DB_STR,$DB_END{s|// appKey: '<APP_KEY>'|appKey: \'$DB_CID\'|}" $MEET_CONF
sed -i "$DB_STR,$DB_END{s|// },|},|}" $MEET_CONF sed -i "$DB_STR,$DB_END{s|// },|},|}" $MEET_CONF