From dc6c1074c6e8af72f7ac1724ad85d970e752628f Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Wed, 2 Sep 2020 17:12:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index 1ffdce1..a7ddc1f 100644 --- a/install.sh +++ b/install.sh @@ -490,6 +490,12 @@ installV2Ray(){ else # progressTools "green" " v2ray-core版本:`/etc/v2ray-agent/v2ray/v2ray --version|awk '{print $2}'|head -1`" echoContent green " ---> v2ray-core版本:`/etc/v2ray-agent/v2ray/v2ray --version|awk '{print $2}'|head -1`" + read -p "是否重新安装?[y/n]:" reInstalV2RayStatus + if [[ "${reInstalV2RayStatus}"="y" ]] + then + rm -rf /etc/v2ray-agent/v2ray/* + installV2Ray $1 + fi fi } # 验证整个服务是否可用