From 63cb713408f5501693c7fc7eb93ab9044d62633b Mon Sep 17 00:00:00 2001 From: 233boy Date: Mon, 19 Mar 2018 13:26:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E4=B8=9A=E6=8C=96=E7=9F=BF=E4=B8=80?= =?UTF-8?q?=E4=B8=87=E5=B9=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++-- v2ray.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index ce04905..d508b6b 100644 --- a/install.sh +++ b/install.sh @@ -685,9 +685,9 @@ install_caddy() { local caddy_tmp="/tmp/install_caddy/" local caddy_tmp_file="/tmp/install_caddy/caddy.tar.gz" if [[ $sys_bit == "i386" || $sys_bit == "i686" ]]; then - local caddy_download_link="https://caddyserver.com/download/linux/386" + local caddy_download_link="https://caddyserver.com/download/linux/386?license=personal" elif [[ $sys_bit == "x86_64" ]]; then - local caddy_download_link="https://caddyserver.com/download/linux/amd64" + local caddy_download_link="https://caddyserver.com/download/linux/amd64?license=personal" else echo -e "$red 自动安装 Caddy 失败!不支持你的系统。$none" && exit 1 fi diff --git a/v2ray.sh b/v2ray.sh index aa8ee17..ffaf843 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="v1.54" +_version="v1.55" cmd="apt-get" @@ -1298,9 +1298,9 @@ install_caddy() { local caddy_tmp="/tmp/install_caddy/" local caddy_tmp_file="/tmp/install_caddy/caddy.tar.gz" if [[ $sys_bit == "i386" || $sys_bit == "i686" ]]; then - local caddy_download_link="https://caddyserver.com/download/linux/386" + local caddy_download_link="https://caddyserver.com/download/linux/386?license=personal" elif [[ $sys_bit == "x86_64" ]]; then - local caddy_download_link="https://caddyserver.com/download/linux/amd64" + local caddy_download_link="https://caddyserver.com/download/linux/amd64?license=personal" else echo -e "$red 自动安装 Caddy 失败!不支持你的系统。$none" && exit 1 fi