瀏覽代碼

Allow to enforce Apache via debconf

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
master
Jonas Rittershofer 4 年之前
父節點
當前提交
6f9e65d348
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. 6
    0
      debian/jitsi-meet-web-config.postinst

+ 6
- 0
debian/jitsi-meet-web-config.postinst 查看文件

@@ -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…
取消
儲存