summaryrefslogtreecommitdiffstats
path: root/textw/upgrade_text.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-03-16 17:48:00 +0000
committerMike Fulbright <msf@redhat.com>2001-03-16 17:48:00 +0000
commit70dde550c3d0d26de0fed1b11b501783305b5545 (patch)
treebeab9b0648a007eb9f02e8ea93671b3e03e9f939 /textw/upgrade_text.py
parent22ffdb43226c1fbff6f6d1443f4323a6f468cd3d (diff)
downloadanaconda-70dde550c3d0d26de0fed1b11b501783305b5545.tar.gz
anaconda-70dde550c3d0d26de0fed1b11b501783305b5545.tar.xz
anaconda-70dde550c3d0d26de0fed1b11b501783305b5545.zip
dont create swapfile in test mode
Diffstat (limited to 'textw/upgrade_text.py')
-rw-r--r--textw/upgrade_text.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/textw/upgrade_text.py b/textw/upgrade_text.py
index 912b86b51..3411beb00 100644
--- a/textw/upgrade_text.py
+++ b/textw/upgrade_text.py
@@ -101,8 +101,9 @@ class UpgradeSwapWindow:
_("The swap file must be between 0 and 2000 MB in size."))
else:
screen.popWindow()
- upgrade.createSwapFile(todo.instPath, todo.fstab, mnt, val,
- todo.intf.progressWindow)
+ if not todo.setupFilesystems:
+ upgrade.createSwapFile(todo.instPath, todo.fstab, mnt, val,
+ todo.intf.progressWindow)
todo.upgradeFindPackages ()
return INSTALL_OK