Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(deb): Adds Include on upgrade prosody. (#16687)
Дамян Минков64869e8970f2
diff --git a/debian/jitsi-meet-prosody.postinst b/debian/jitsi-meet-prosody.postinstindex a06edeccc1..536281bcb5 100644--- a/debian/jitsi-meet-prosody.postinst+++ b/debian/jitsi-meet-prosody.postinst@@ -124,10 +124,17 @@ case "$1" inln -s $PROSODY_HOST_CONFIG /etc/prosody/conf.d/$JVB_HOSTNAME.cfg.luafiPROSODY_CREATE_JICOFO_USER="true"+ fi++ if ! grep -q "VirtualHost \"$JVB_HOSTNAME\"" $PROSODY_CONFIG_OLD; then# on some distributions main prosody config doesn't include configs# from conf.d folder enable it as this where we put our config by default+ # also when upgrading to new prosody version from prosody repo we need to add it againif ! grep -q "Include \"conf\.d\/\*\.cfg.lua\"" $PROSODY_CONFIG_OLD; thenecho -e "\nInclude \"conf.d/*.cfg.lua\"" >> $PROSODY_CONFIG_OLD++ # trigger a restart+ PROSODY_CONFIG_PRESENT="false"fifi