Parcourir la source

Detects nginx-extras package. Fixes #3891.

master
damencho il y a 6 ans
Parent
révision
2ac5d136dc
2 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 1
    1
      debian/control
  2. 5
    1
      debian/jitsi-meet-web-config.postinst

+ 1
- 1
debian/control Voir le fichier

@@ -21,7 +21,7 @@ Description: WebRTC JavaScript video conferences
21 21
 
22 22
 Package: jitsi-meet-web-config
23 23
 Architecture: all
24
-Depends: openssl, openjdk-8-jre-headless | nginx | apache2
24
+Depends: openssl, openjdk-8-jre-headless | nginx | nginx-extras | apache2
25 25
 Description: Configuration for web serving of Jitsi Meet
26 26
  Jitsi Meet is a WebRTC JavaScript application that uses Jitsi
27 27
  Videobridge to provide high quality, scalable video conferences.

+ 5
- 1
debian/jitsi-meet-web-config.postinst Voir le fichier

@@ -52,7 +52,11 @@ case "$1" in
52 52
         db_set jitsi-meet/jvb-hostname $JVB_HOSTNAME
53 53
 
54 54
         NGINX_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'nginx' 2>/dev/null | awk '{print $3}' || true)"
55
-        if [ "$NGINX_INSTALL_CHECK" = "installed" ] || [ "$NGINX_INSTALL_CHECK" = "unpacked" ] ; then
55
+        NGINX_EXTRAS_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'nginx-extras' 2>/dev/null | awk '{print $3}' || true)"
56
+        if [ "$NGINX_INSTALL_CHECK" = "installed" ] \
57
+           || [ "$NGINX_INSTALL_CHECK" = "unpacked" ] \
58
+           || [ "$NGINX_EXTRAS_INSTALL_CHECK" = "installed" ] \
59
+           || [ "$NGINX_EXTRAS_INSTALL_CHECK" = "unpacked" ] ; then
56 60
             FORCE_NGINX="true"
57 61
         fi
58 62
         APACHE_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'apache2' 2>/dev/null | awk '{print $3}' || true)"

Chargement…
Annuler
Enregistrer