浏览代码

Merge branch 'master' of https://github.com/v2ray/v2ray-core

v2ray 9 年之前
父节点
当前提交
3ffcb386ad
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      release/install-release.sh

+ 2 - 2
release/install-release.sh

@@ -84,11 +84,11 @@ install_component "curl"
 install_component "unzip"
 
 if [ -n "${PROXY}" ]; then
-  curl -x ${PROXY} -L -H "Cache-Control: no-cache" -o "/tmp/v2ray/v2ray.zip" ${DOWNLOAD_LINK}
   echo "Downloading ${DOWNLOAD_LINK} via proxy ${PROXY}."
+  curl -x ${PROXY} -L -H "Cache-Control: no-cache" -o "/tmp/v2ray/v2ray.zip" ${DOWNLOAD_LINK}
 else
-  curl -L -H "Cache-Control: no-cache" -o "/tmp/v2ray/v2ray.zip" ${DOWNLOAD_LINK}
   echo "Downloading ${DOWNLOAD_LINK} directly."
+  curl -L -H "Cache-Control: no-cache" -o "/tmp/v2ray/v2ray.zip" ${DOWNLOAD_LINK}
 fi
 unzip "/tmp/v2ray/v2ray.zip" -d "/tmp/v2ray/"