help: epel: sed on more epel repo config

This commit is contained in:
ZenithalHourlyRate 2021-12-17 23:37:56 +08:00
parent 80200f8db8
commit c3fee069ec
No known key found for this signature in database
GPG Key ID: 1189C659F3D04C1C

View File

@ -31,7 +31,7 @@ sed -e 's!^metalink=!#metalink=!g' \
-e 's!//download\.fedoraproject\.org/pub!//{{ site.hostname }}!g' \
-e 's!//download\.example/pub!//{{ site.hostname }}!g' \
-e 's!http://mirrors!https://mirrors!g' \
-i /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel-testing.repo
-i /etc/yum.repos.d/epel*.repo
```
修改结果如下:(仅供参考,不同版本可能不同)