From 4f9969bcce81f48a1545d8d04076cefc5dd4d6d2 Mon Sep 17 00:00:00 2001 From: whalechoi Date: Fri, 27 Mar 2020 02:11:24 +0800 Subject: [PATCH] Update customize.sh --- customize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customize.sh b/customize.sh index 77389fd..8e7bf77 100644 --- a/customize.sh +++ b/customize.sh @@ -14,7 +14,7 @@ mkdir -p $MODPATH/system/etc # download latest v2ray core from official link ui_print "- Connect official V2Ray download link." official_v2ray_link="https://github.com/v2ray/v2ray-core/releases" -latest_v2ray_version=`curl -k -s -I "${official_v2ray_link}/latest" | grep location | grep -o "tag.*" | grep -o "v[0-9.]*"` +latest_v2ray_version=`curl -k -s -I "${official_v2ray_link}/latest" | grep -i location | grep -o "tag.*" | grep -o "v[0-9.]*"` if [ "${latest_v2ray_version}" = "" ] ; then ui_print "Error: Connect official V2Ray download link failed." exit 1