diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-09-25 20:25:00 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-09-25 20:25:00 +0000 |
commit | b604ccd7533fc254a82cb73346ff9b5bedff4310 (patch) | |
tree | f11da0fac62cfab3461e9de76c8896524e20a9a9 /textw | |
parent | 6d7aece1df23ee480e74d757e2c2c05bb79b65d5 (diff) | |
download | anaconda-b604ccd7533fc254a82cb73346ff9b5bedff4310.tar.gz anaconda-b604ccd7533fc254a82cb73346ff9b5bedff4310.tar.xz anaconda-b604ccd7533fc254a82cb73346ff9b5bedff4310.zip |
2007-09-25 Jeremy Katz <katzj@redhat.com>
* textw/upgrade_text.py (UpgradeExamineWindow.__call__): Default
to upgrade if we should
* instdata.py (InstallData.reset): Allow 'doupgrade' on the
command line to default to doing an upgrade
Diffstat (limited to 'textw')
-rw-r--r-- | textw/upgrade_text.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/textw/upgrade_text.py b/textw/upgrade_text.py index c5da4c3c2..387374ba7 100644 --- a/textw/upgrade_text.py +++ b/textw/upgrade_text.py @@ -193,6 +193,11 @@ class UpgradeExamineWindow: partList = [] partList.append(_("Reinstall System")) + if (anaconda.id.upgrade == None and anaconda.dispatch.stepInSkipList("installtype")) or anaconda.id.upgrade: + default = 1 + else: + default = 0 + for (drive, fs, desc, label) in parts: if drive[:5] != "/dev/": devname = "/dev/" + drive @@ -209,6 +214,7 @@ class UpgradeExamineWindow: TEXT_BACK_BUTTON ], width = 55, scroll = scroll, height = height, + default = default, help = "upgraderoot") if button == TEXT_BACK_CHECK: |