From 834df40e480671ae2cfa76068d76456fe70274d4 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Thu, 19 May 2022 17:51:32 +0800 Subject: [PATCH] Update menu.sh --- menu.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/menu.sh b/menu.sh index a17957f..40c6863 100644 --- a/menu.sh +++ b/menu.sh @@ -1562,7 +1562,7 @@ proxy(){ mkdir -p /etc/wireguard/ >/dev/null 2>&1 if [[ $CLIENT = 0 ]]; then green " ${T[${L}83]} " if [[ $SYSTEM = CentOS ]]; then - rpm -ivh http://pkg.cloudflareclient.com/cloudflare-release-el8.rpm >/dev/null 2>&1 + rpm -ivh https://pkg.cloudflareclient.com/cloudflare-release-el8.rpm >/dev/null 2>&1 # CentOS 7,需要用 Cloudflare CentOS 8 的库以安装 Client,并在线编译升级 C 运行库 Glibc 2.28 if [[ $(expr "$SYS" : '.*\s\([0-9]\{1,\}\)\.*') = 7 && ! $(strings /lib64/libc.so.6 ) =~ GLIBC_2.28 ]]; then { wget -O /usr/bin/make https://github.com/fscarmen/warp/releases/download/Glibc/make @@ -1589,7 +1589,6 @@ proxy(){ echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $CODENAME main" | tee /etc/apt/sources.list.d/cloudflare-client.list ${PACKAGE_UPDATE[int]}; ${PACKAGE_INSTALL[int]} cloudflare-warp fi - [[ $(systemctl is-active warp-svc) != active ]] && ( systemctl start warp-svc; sleep 2 ) settings