From d6b5f0ab0e424eb6a5aa3f4f5eb6e5c2cf5cd513 Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Wed, 22 Jul 2020 17:01:22 +0800 Subject: [PATCH] fix caddy download link --- src/download-caddy.sh | 3 ++- v2ray.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/download-caddy.sh b/src/download-caddy.sh index 56a661f..3dbd917 100644 --- a/src/download-caddy.sh +++ b/src/download-caddy.sh @@ -5,7 +5,8 @@ _download_caddy_file() { if [[ ! ${caddy_arch} ]]; then echo -e "$red 获取 Caddy 下载参数失败!$none" && exit 1 fi - local caddy_download_link="https://caddyserver.com/download/linux/${caddy_arch}?license=personal" + # local caddy_download_link="https://caddyserver.com/download/linux/${caddy_arch}?license=personal" + local caddy_download_link="https://github.com/caddyserver/caddy/releases/download/v1.0.4/caddy_v1.0.4_linux_${caddy_arch}.tar.gz" mkdir -p $caddy_tmp diff --git a/v2ray.sh b/v2ray.sh index addc9a6..3cc5c4a 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="v3.33" +_version="v3.34" cmd="apt-get"