From 90ad6bb121ac80a7ea957f4df5d1fdc8548bceba Mon Sep 17 00:00:00 2001 From: sunshineplan Date: Thu, 12 Apr 2018 19:00:13 +0800 Subject: [PATCH] Update install-release.sh --- release/install-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/install-release.sh b/release/install-release.sh index 6eef94134..cbd83cb47 100755 --- a/release/install-release.sh +++ b/release/install-release.sh @@ -159,7 +159,7 @@ extract(){ # 1: new V2Ray. 0: no. 2: not installed. 3: check failed. 4: don't check. getVersion(){ if [[ -n "$VERSION" ]]; then - NEW_VER="v$VERSION" + NEW_VER="$VERSION" return 4 else VER=`/usr/bin/v2ray/v2ray -version 2>/dev/null` @@ -280,7 +280,7 @@ Help(){ echo " -h, --help Show help" echo " -p, --proxy To download through a proxy server, use -p socks5://127.0.0.1:1080 or -p http://127.0.0.1:3128 etc" echo " -f, --force Force install" - echo " --version Install a particular version, use --version 3.15" + echo " --version Install a particular version, use --version v3.15" echo " -l, --local Install from a local file" echo " --remove Remove installed V2Ray" echo " -c, --check Check for update"