mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-26 05:02:48 +00:00
help: epel: sed on more epel repo config
This commit is contained in:
parent
80200f8db8
commit
c3fee069ec
|
|
@ -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
|
||||
```
|
||||
|
||||
修改结果如下:(仅供参考,不同版本可能不同)
|
||||
|
|
|
|||
Loading…
Reference in New Issue