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 updates on distributions that are missing openjdk 8.

damenchoa70182169854
diff --git a/debian/control b/debian/control
index 14ad6696da..fcf6424aaf 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Homepage: https://jitsi.org/meet
Package: jitsi-meet
Architecture: all
Depends: ${misc:Depends}, jitsi-videobridge, jitsi-meet-prosody, libjs-strophe (>= 1.1.3),
- libjs-jquery, libjs-jquery-ui, openjdk-8-jre-headless
+ libjs-jquery, libjs-jquery-ui, openjdk-8-jre-headless | nginx
Description: WebRTC JavaScript video conferences
Jitsi Meet is a WebRTC JavaScript application that uses Jitsi
Videobridge to provide high quality, scalable video conferences.
diff --git a/debian/jitsi-meet.postinst b/debian/jitsi-meet.postinst
index 5b621de442..ba4565c8a9 100644
--- a/debian/jitsi-meet.postinst
+++ b/debian/jitsi-meet.postinst
@@ -46,6 +46,13 @@ case "$1" in
# stores the hostname so we will reuse it later, like in purge
db_set jitsi-meet/jvb-hostname $JVB_HOSTNAME
+ NGINX_INSTALL_CHECK="$(dpkg-query -W -f '${PackageSpec}:${Status}\n' nginx 2>&1 | grep -v "ok installed" || :)"
+ if [ -n "${NGINX_INSTALL_CHECK}" ]; then
+ FORCE_NGINX="false"
+ else
+ FORCE_NGINX="true"
+ fi
+
# SSL for nginx
db_get jitsi-meet/cert-choice
CERT_CHOICE="$RET"