浏览代码

Updates nginx detection during configuration.

master
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
 

正在加载...
取消
保存