Another fix for the repo fix...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-05-02 15:55:59 -07:00
parent c236fbcd21
commit 6b62cb87ed

View File

@ -380,7 +380,7 @@ sub _repo_setup_updates {
# https://pagure.io/fedora-repos/issue/70
if (get_var("VERSION") == 28) {
assert_script_run 'sed -i -e "s,^\(baseurl.*/\)os/$,\1,g" /etc/yum.repos.d/fedora*updates*.repo';
assert_script_run 'sed -i -e "s,/testing-modular/,,g" /etc/yum.repos.d/fedora*updates*.repo';
assert_script_run 'sed -i -e "s,/testing-modular/,/testing/,g" /etc/yum.repos.d/fedora*updates*.repo';
}
if (get_var("OFW")) {
# the uncommented baseurl line must be changed for PowerPC