From 241158602b40fa5d7a998943c748d16003ee8eff Mon Sep 17 00:00:00 2001 From: Super Manito <68613938+SuperManito@users.noreply.github.com> Date: Tue, 22 Oct 2024 00:51:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=81=9C=E6=AD=A2=E6=94=AF=E6=8C=81=20Epel=207?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeMirrors.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeMirrors.sh b/ChangeMirrors.sh index c26b2b37..e93bd0e5 100755 --- a/ChangeMirrors.sh +++ b/ChangeMirrors.sh @@ -1,6 +1,6 @@ #!/bin/bash ## Author: SuperManito -## Modified: 2024-10-07 +## Modified: 2024-10-22 ## License: MIT ## GitHub: https://github.com/SuperManito/LinuxMirrors ## Website: https://linuxmirrors.cn @@ -2166,6 +2166,10 @@ function change_mirrors_or_install_EPEL() { return ;; esac + ## 跳过较旧的 EOF 版本(epel 7 已被官方移动至 archive 仓库,目前没有多少镜像站同步,已无适配的必要) + if [[ "${target_version}" == "7" ]]; then + return + fi ## 安装 EPEL 软件包 if [ "${VERIFICATION_EPEL}" -ne 0 ]; then echo -e "\n${WORKING} 安装 epel-release 软件包...\n"