summaryrefslogtreecommitdiffstats
path: root/iw/installpath.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-18 18:06:20 +0000
committerMatt Wilson <msw@redhat.com>2000-01-18 18:06:20 +0000
commit4f2126d16aaef69417dc68e37443c5a89b53d29e (patch)
treebca18fbf9efc61fb7bd8402e769536b42ccadf89 /iw/installpath.py
parent671e3d84213ca17f9dbb6845c0b0801481b951cc (diff)
downloadanaconda-4f2126d16aaef69417dc68e37443c5a89b53d29e.tar.gz
anaconda-4f2126d16aaef69417dc68e37443c5a89b53d29e.tar.xz
anaconda-4f2126d16aaef69417dc68e37443c5a89b53d29e.zip
turn off swap when upgrades are backed up
Diffstat (limited to 'iw/installpath.py')
-rw-r--r--iw/installpath.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/iw/installpath.py b/iw/installpath.py
index 38826d129..f12821d43 100644
--- a/iw/installpath.py
+++ b/iw/installpath.py
@@ -100,6 +100,10 @@ class InstallPathWindow (InstallWindow):
if not self.__dict__.has_key("upgradeButton"):
return
+ # Hack to let backing out of upgrades work properly
+ if self.todo.fstab:
+ self.todo.fstab.turnOffSwap()
+
needNewDruid = 0
icw = self.ics.getICW ()
if self.upgradeButton.get_active():