mirror of https://github.com/wulabing/Xray_onekey
1.1.0 Nginx 冲突检测
parent
fa936c6da3
commit
e08988f807
|
@ -300,6 +300,10 @@ nginx_exist_check(){
|
|||
if [[ -f "/etc/nginx/sbin/nginx" ]];then
|
||||
echo -e "${OK} ${GreenBG} Nginx已存在,跳过编译安装过程 ${Font}"
|
||||
sleep 2
|
||||
elif [[ -d "/usr/local/nginx/" ]]
|
||||
then
|
||||
echo -e "${OK} ${GreenBG} 检测到其他套件安装的Nginx,继续安装会造成冲突,请处理后安装${Font}"
|
||||
exit 1
|
||||
else
|
||||
nginx_install
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue