--- 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