Kaynağa Gözat

Allow to enforce Apache via debconf

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
master
Jonas Rittershofer 4 yıl önce
ebeveyn
işleme
6f9e65d348
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  1. 6
    0
      debian/jitsi-meet-web-config.postinst

+ 6
- 0
debian/jitsi-meet-web-config.postinst Dosyayı Görüntüle

@@ -68,6 +68,12 @@ case "$1" in
68 68
         if [ "$APACHE_INSTALL_CHECK" = "installed" ] || [ "$APACHE_INSTALL_CHECK" = "unpacked" ] ; then
69 69
             FORCE_APACHE="true"
70 70
         fi
71
+        # In case user enforces apache and if apache is available, unset nginx.
72
+        db_get jitsi-meet/enforce_apache
73
+        if [ -n "$RET" ] && [ "$RET" = "true" ] \
74
+            && [ "$FORCE_APACHE" = "true" ]; then
75
+            FORCE_NGINX="false"
76
+        fi
71 77
 
72 78
         UPLOADED_CERT_CHOICE="I want to use my own certificate"
73 79
         # if first time config ask for certs, or if we are reconfiguring

Loading…
İptal
Kaydet