Skip to content

Commit

Permalink
停止支持 Epel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperManito committed Oct 21, 2024
1 parent f061144 commit 2411586
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ChangeMirrors.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 2411586

Please sign in to comment.