[PATCH] Remove yum cache for anaconda's temporary repos (#593649).

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

 



---
 yuminstall.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 5b6c55b..7c149d8 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -281,7 +281,7 @@ class AnacondaYumRepo(YumRepository):
         cachedir = self.getAttribute('cachedir')
 
         if os.path.isdir(cachedir):
-            if not self.needsNetwork() or self.name == "Installation Repo":
+            if not self.needsNetwork() or self.name == "Installation Repo" or self.id.startswith("anaconda-"):
                 shutil.rmtree(cachedir)
             else:
                 if os.path.exists("%s/headers" % cachedir):
-- 
1.7.0.1

_______________________________________________
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