From 12043c2a4b5ea4f7d9e976608876f1ace3f163b4 Mon Sep 17 00:00:00 2001 From: 233boy Date: Fri, 12 Oct 2018 11:00:44 +0800 Subject: [PATCH] update --- v2ray.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2ray.sh b/v2ray.sh index 08e9a46..aff7330 100644 --- a/v2ray.sh +++ b/v2ray.sh @@ -10,7 +10,7 @@ none='\e[0m' # Root [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 -_version="v2.41" +_version="v2.42" cmd="apt-get" @@ -47,7 +47,7 @@ backup="/etc/v2ray/233blog_v2ray_backup.conf" if [[ -f /usr/bin/v2ray/v2ray && -f /etc/v2ray/config.json ]] && [[ -f $backup && -d /etc/v2ray/233boy/v2ray ]]; then . $backup - v2ray_ver=$(/usr/bin/v2ray/v2ray -version | head -n 1 | cut -d " " -f2) + v2ray_ver="v$(/usr/bin/v2ray/v2ray -version | head -n 1 | cut -d " " -f2)" if [[ ! $username ]]; then . /etc/v2ray/233boy/v2ray/tools/support_socks.sh fi