[PATCH] Do not show disabled repos.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a brute force fix, that winds up killing updates-testing from
being visible, but it also kills rawhide from being visible which is
what we're really after.  A more fine tuned fix could be made after F10
but this is likely the safest route for F-10.
---
 yuminstall.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 1ec5463..492bbda 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -537,10 +537,10 @@ class AnacondaYum(YumSorter):
             del(repo)
             raise RepoError, "Repo %s contains -source or -debuginfo, excluding" % name
 
-        if BETANAG and not repo.enabled:
+        if not repo.enabled:
             name = repo.name
             del(repo)
-            raise RepoError, "Excluding disabled repo %s for prerelease" % name
+            raise RepoError, "Excluding disabled repo %s" % name
 
         # If repo=/method= was passed in, we want to default these extra
         # repos to off.
-- 
1.6.0.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux