Update install-release.sh

This commit is contained in:
sunshineplan
2018-04-12 15:41:35 +08:00
committed by GitHub
parent c56b55a7d3
commit 648b7e35f1
+5 -4
View File
@@ -389,11 +389,12 @@ main(){
return 3
elif [[ $RETVAL == 1 ]]; then
colorEcho ${GREEN} "Found new version ${NEW_VER} for V2Ray.(Current version:$CUR_VER)"
else
colorEcho ${BLUE} "Installing V2Ray ${NEW_VER} on ${ARCH}"
downloadV2Ray || return $?
installSoftware unzip || return $?
extract ${ZIPFILE} || return $?
fi
colorEcho ${BLUE} "Installing V2Ray ${NEW_VER} on ${ARCH}"
downloadV2Ray || return $?
installSoftware unzip || return $?
extract ${ZIPFILE} || return $?
fi
if pgrep "v2ray" > /dev/null ; then
V2RAY_RUNNING=1