Xray-1.3.5

[fix] nginx 预编译版本卸载后的遗留问题
pull/373/head
wulabing 2021-07-08 19:51:05 +08:00
parent 93704ee13d
commit 08678ecd59
No known key found for this signature in database
GPG Key ID: 213391AFDF73AE00
1 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,7 @@ OK="${Green}[OK]${Font}"
ERROR="${Red}[ERROR]${Font}" ERROR="${Red}[ERROR]${Font}"
# 变量 # 变量
shell_version="1.3.5" shell_version="1.3.6"
github_branch="main" github_branch="main"
xray_conf_dir="/usr/local/etc/xray" xray_conf_dir="/usr/local/etc/xray"
website_dir="/www/xray_web/" website_dir="/www/xray_web/"
@ -137,7 +137,10 @@ function nginx_install() {
judge "Nginx 安装" judge "Nginx 安装"
else else
print_ok "Nginx 已存在" print_ok "Nginx 已存在"
${INS} nginx
fi fi
# 遗留问题处理
mkdir -p /etc/nginx/conf.d >/dev/null 2>&1
} }
function dependency_install() { function dependency_install() {
${INS} wget lsof tar ${INS} wget lsof tar