summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-08-19 21:53:30 +0000
committerJeremy Katz <katzj@redhat.com>2002-08-19 21:53:30 +0000
commit03529e7352cbb44a8ea7dd9a713abe7341cdf4d4 (patch)
treeaaeaf540d83d7bb95f21cee98b0e9bba86ab595f /packages.py
parent4099b41e1260d750f000df4c244b5a75230f4493 (diff)
downloadanaconda-03529e7352cbb44a8ea7dd9a713abe7341cdf4d4.tar.gz
anaconda-03529e7352cbb44a8ea7dd9a713abe7341cdf4d4.tar.xz
anaconda-03529e7352cbb44a8ea7dd9a713abe7341cdf4d4.zip
try to unmount the cd if we get a failure installing a package so that the
user can eject their CD if they want and change it for one that isn't cracked down the middle
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages.py b/packages.py
index dd99bb02e..0608d13e5 100644
--- a/packages.py
+++ b/packages.py
@@ -303,6 +303,7 @@ class InstallCallback:
self.rpmFD = -1
raise SystemError
except:
+ self.method.unmountCD()
self.messageWindow(_("Error"),
_("The file %s cannot be opened. This is due to "
"a missing file, a bad package, or bad media. "