From 03529e7352cbb44a8ea7dd9a713abe7341cdf4d4 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 19 Aug 2002 21:53:30 +0000 Subject: 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 --- packages.py | 1 + 1 file changed, 1 insertion(+) (limited to 'packages.py') 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. " -- cgit