Xray-1.3.5

[update] 不删除nginx配置文件夹 防止删除后重装出现问题
pull/373/head
wulabing 2021-07-08 19:45:03 +08:00
parent fbcb87b35b
commit 93704ee13d
No known key found for this signature in database
GPG Key ID: 213391AFDF73AE00
1 changed files with 1 additions and 2 deletions

View File

@ -27,7 +27,7 @@ OK="${Green}[OK]${Font}"
ERROR="${Red}[ERROR]${Font}" ERROR="${Red}[ERROR]${Font}"
# 变量 # 变量
shell_version="1.3.4" shell_version="1.3.5"
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/"
@ -454,7 +454,6 @@ function xray_uninstall() {
[yY][eE][sS] | [yY]) [yY][eE][sS] | [yY])
if [[ "${ID}" == "centos" || "${ID}" == "ol" ]]; then if [[ "${ID}" == "centos" || "${ID}" == "ol" ]]; then
yum remove nginx -y yum remove nginx -y
rm -rf /etc/nginx
else else
apt purge nginx -y apt purge nginx -y
fi fi