Merge pull request #14798 from antobinary/fred-conf

fix(conf): setip should not wipe out existing properties
This commit is contained in:
Anton Georgiev 2022-04-11 15:17:34 -04:00 committed by GitHub
commit 5a4f63a7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1614,7 +1614,7 @@ if [ -n "$HOST" ]; then
if [ -f "$BBB_WEB_ETC_CONFIG" ] && grep "bigbluebutton.web.serverURL" "$BBB_WEB_ETC_CONFIG" > /dev/null ; then
change_var_value "$BBB_WEB_ETC_CONFIG" bigbluebutton.web.serverURL "$PROTOCOL://$HOST"
else
echo "bigbluebutton.web.serverURL=$PROTOCOL://$HOST" > "$BBB_WEB_ETC_CONFIG"
echo "bigbluebutton.web.serverURL=$PROTOCOL://$HOST" >> "$BBB_WEB_ETC_CONFIG"
fi