From 91e9262f6796cf697bb4545c1a4872d8f357b117 Mon Sep 17 00:00:00 2001 From: SuperManito <68613938+SuperManito@users.noreply.github.com> Date: Sat, 27 Jul 2024 07:58:25 +0800 Subject: [PATCH] bug fix --- ChangeMirrors.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeMirrors.sh b/ChangeMirrors.sh index af7729d..4e73ff4 100755 --- a/ChangeMirrors.sh +++ b/ChangeMirrors.sh @@ -1,6 +1,6 @@ #!/bin/bash ## Author: SuperManito -## Modified: 2024-07-26 +## Modified: 2024-07-27 ## License: MIT ## GitHub: https://github.com/SuperManito/LinuxMirrors ## Website: https://linuxmirrors.cn @@ -2050,7 +2050,7 @@ function change_mirrors_or_install_EPEL() { package_manager="dnf" ;; esac - $package_manager install -y https://mirrors.cloud.tencent.com/epel/epel-release-latest-${SYSTEM_VERSION_NUMBER:0:1}.noarch.rpm + $package_manager install -y https://mirrors.cloud.tencent.com/epel/epel-release-latest-${target_version}.noarch.rpm rm -rf $Dir_YumRepos/epel* fi ## 删除原有 repo 源文件