Skip to content

Commit

Permalink
Fixes grep check for apis.
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho committed Jan 8, 2020
1 parent ca574e2 commit 8c2a432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/install/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ case "$1" in
echo "org.jitsi.videobridge.xmpp.user.shard.MUC_NICKNAME=$(uuidgen)" >> $NEW_JITSI_CONFIG
fi

if ! grep -q "--apis=," "$CONFIG" ;then
if ! grep -q "\--apis=," "$CONFIG" ;then
sed -i 's/JVB_OPTS=\"\"/JVB_OPTS=\"--apis=,\"/g' $CONFIG
fi

Expand Down

0 comments on commit 8c2a432

Please sign in to comment.