瀏覽代碼

Updates nginx detection during configuration.

j8
damencho 10 年之前
父節點
當前提交
3289f6f68e
共有 1 個檔案被更改,包括 1 行新增3 行删除
  1. 1
    3
      debian/jitsi-meet.postinst

+ 1
- 3
debian/jitsi-meet.postinst 查看文件

@@ -47,9 +47,7 @@ case "$1" in
47 47
         db_set jitsi-meet/jvb-hostname $JVB_HOSTNAME
48 48
 
49 49
         NGINX_INSTALL_CHECK="$(dpkg-query -W -f '${PackageSpec}:${Status}\n' nginx 2>&1 | grep -v "ok installed" || :)"
50
-        if [ -n "${NGINX_INSTALL_CHECK}" ]; then
51
-            FORCE_NGINX="false"
52
-        else
50
+        if [ -z "${NGINX_INSTALL_CHECK}" ]; then
53 51
             FORCE_NGINX="true"
54 52
         fi
55 53
 

Loading…
取消
儲存