mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-08 18:30:27 +08:00
bug fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
## Author: SuperManito
|
## Author: SuperManito
|
||||||
## Modified: 2024-07-26
|
## Modified: 2024-07-27
|
||||||
## License: MIT
|
## License: MIT
|
||||||
## GitHub: https://github.com/SuperManito/LinuxMirrors
|
## GitHub: https://github.com/SuperManito/LinuxMirrors
|
||||||
## Website: https://linuxmirrors.cn
|
## Website: https://linuxmirrors.cn
|
||||||
@@ -2050,7 +2050,7 @@ function change_mirrors_or_install_EPEL() {
|
|||||||
package_manager="dnf"
|
package_manager="dnf"
|
||||||
;;
|
;;
|
||||||
esac
|
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*
|
rm -rf $Dir_YumRepos/epel*
|
||||||
fi
|
fi
|
||||||
## 删除原有 repo 源文件
|
## 删除原有 repo 源文件
|
||||||
|
|||||||
Reference in New Issue
Block a user