--- yuminstall.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/yuminstall.py b/yuminstall.py index 84445b0..a56fd71 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -1036,7 +1036,7 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon "%s/var/cache/yum/%s" %(anaconda.rootPath, repo)) except Exception, e: log.debug("Error setting up media repository: %s" %(e,)) - else: + elif os.path.exists(self.ayum.tree) and os.path.ismount(self.ayum.tree): isys.umount(self.ayum.tree) anaconda.backend.removeInstallImage() -- 1.6.1.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list