From 9d4c3e586e22b3eadb45c44dc8c21511ee8c2d1f Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Wed, 2 Sep 2020 17:09:25 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index ee11d4b..1ffdce1 100644 --- a/install.sh +++ b/install.sh @@ -160,7 +160,7 @@ installTools(){ # then # yum-complete-transaction --cleanup-only # fi - ${upgrade} > /dev/null 2>&1 + ${upgrade} > /dev/null if [[ "${release}" = "centos" ]] then # yum要删除pid @@ -484,7 +484,7 @@ installV2Ray(){ version=`curl -s https://github.com/v2fly/v2ray-core/releases|grep /v2ray-core/releases/tag/|head -1|awk -F "[/]" '{print $6}'|awk -F "[>]" '{print $2}'|awk -F "[<]" '{print $1}'` # progressTools "green" " v2ray-core版本:${version}" echoContent green " ---> v2ray-core版本:${version}" - wget -q -P /etc/v2ray-agent/v2ray https://github.com/v2fly/v2ray-core/releases/download/${version}/v2ray-linux-64.zip + wget -q -P /etc/v2ray-agent/v2ray/ https://github.com/v2fly/v2ray-core/releases/download/${version}/v2ray-linux-64.zip unzip /etc/v2ray-agent/v2ray/v2ray-linux-64.zip -d /etc/v2ray-agent/v2ray > /dev/null rm -rf /etc/v2ray-agent/v2ray/v2ray-linux-64.zip else