Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fixes prosody config extract.

Damian Minkov02d283208b2a
diff --git a/debian/jitsi-meet-prosody.postinst b/debian/jitsi-meet-prosody.postinst
index 8dc07a6346..43203b8809 100644
--- a/debian/jitsi-meet-prosody.postinst
+++ b/debian/jitsi-meet-prosody.postinst
@@ -27,7 +27,7 @@ case "$1" in
# if there is no prosody config extract our template
if [ ! -f /etc/prosody/prosody.cfg.lua ]; then
PROSODY_CONFIG_PRESENT="false"
- gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz /etc/prosody/prosody.cfg.lua
+ gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz > /etc/prosody/prosody.cfg.lua
fi
# if there is no config for our domain, lets create it
@@ -37,7 +37,7 @@ case "$1" in
if ! grep -q "VirtualHost \"jitmeet.example.com\"" /etc/prosody/prosody.cfg.lua; then
PROSODY_CONFIG_PRESENT="false"
cp /etc/prosody/prosody.cfg.lua /etc/prosody/prosody.cfg.lua.orig
- gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz /etc/prosody/prosody.cfg.lua
+ gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz > /etc/prosody/prosody.cfg.lua
fi
if [ "PROSODY_CONFIG_PRESENT" = "true" ]; then