From 45334e45b1d9cf042144d293d757009ad7067ab6 Mon Sep 17 00:00:00 2001 From: rkygogo <107276912+rkygogo@users.noreply.github.com> Date: Fri, 24 Jun 2022 16:58:27 +0800 Subject: [PATCH] Update CFwarp.sh --- CFwarp.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CFwarp.sh b/CFwarp.sh index 6e5879e..e696399 100644 --- a/CFwarp.sh +++ b/CFwarp.sh @@ -480,7 +480,8 @@ sed -i -e "s|mirrors.cloud.aliyuncs.com|mirrors.aliyun.com|g " /etc/yum.repos.d/ sed -i -e "s|releasever|releasever-stream|g" /etc/yum.repos.d/CentOS-* yum clean all && yum makecache fi -yum install epel-release -y;yum install iproute iptables wireguard-tools -y +yum install epel-release -y || yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-${vsid}.noarch.rpm -y +yum install iproute iptables wireguard-tools -y elif [[ $release = Debian ]]; then apt install lsb-release -y echo "deb http://deb.debian.org/debian $(lsb_release -sc)-backports main" | tee /etc/apt/sources.list.d/backports.list