epel: match replacement better
It looks like upstream have changed this line to "download.example", breaking our subsitution. Let's do a generic match. Change-Id: I8e443022a5f239b98ccefe73a9abf8cf259dc8e9
This commit is contained in:
parent
2b85ddc669
commit
2d5981d673
@ -48,5 +48,5 @@ DIB_EPEL_MIRROR=${DIB_EPEL_MIRROR:-}
|
||||
[ -n "$DIB_EPEL_MIRROR" ] || exit 0
|
||||
|
||||
# Set the EPEL mirror to use
|
||||
sed -e "s|^#baseurl=http[s]*://download.fedoraproject.org/pub/epel|baseurl=$DIB_EPEL_MIRROR|;/^mirrorlist=/d;/^metalink=/d" -i /etc/yum.repos.d/epel.repo
|
||||
sed -e "s|^#baseurl=http[s]*://.*/pub/epel|baseurl=$DIB_EPEL_MIRROR|;/^mirrorlist=/d;/^metalink=/d" -i /etc/yum.repos.d/epel.repo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user