From a70182169854bdb631fa0b60a41e4ec16903f918 Mon Sep 17 00:00:00 2001 From: damencho Date: Thu, 30 Jul 2015 14:35:37 -0500 Subject: [PATCH] Fixes updates on distributions that are missing openjdk 8. --- debian/control | 2 +- debian/jitsi-meet.postinst | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 14ad6696d..fcf6424aa 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 5b621de44..ba4565c8a 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"