From 49f11cc254ff23b3f959f91b443410333f099687 Mon Sep 17 00:00:00 2001 From: wulabing Date: Sun, 24 Nov 2019 01:29:24 +0800 Subject: [PATCH] =?UTF-8?q?Nginx=20=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 3fcf647..560a5b4 100644 --- a/install.sh +++ b/install.sh @@ -227,8 +227,8 @@ v2ray_install(){ rm -rf /root/v2ray } nginx_exist_chek(){ - if [[ -d "/etc/nginx" ]];then - echo -e "${OK} ${GreenBG} Nginx目录已存在,跳过编译安装过程 ${Font}" + if [[ -f "/etc/nginx/sbin/nginx" ]];then + echo -e "${OK} ${GreenBG} Nginx已存在,跳过编译安装过程 ${Font}" sleep 2 else nginx_install