summaryrefslogtreecommitdiffstats
path: root/textw/upgrade_text.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-12-11 02:12:27 +0000
committerMike Fulbright <msf@redhat.com>2002-12-11 02:12:27 +0000
commit285dfe16f16a8e245a650bf1153ce7fef2406c00 (patch)
tree3d15cdfdb1b536cf44055b9ff46d8ef1e494ff97 /textw/upgrade_text.py
parent4b80e0cdfc2f4e83a9c2f53ceded49e2cbb34cb3 (diff)
downloadanaconda-285dfe16f16a8e245a650bf1153ce7fef2406c00.tar.gz
anaconda-285dfe16f16a8e245a650bf1153ce7fef2406c00.tar.xz
anaconda-285dfe16f16a8e245a650bf1153ce7fef2406c00.zip
tweak upgrade examine screen
Diffstat (limited to 'textw/upgrade_text.py')
-rw-r--r--textw/upgrade_text.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/textw/upgrade_text.py b/textw/upgrade_text.py
index 6afe89b69..0b1a6c331 100644
--- a/textw/upgrade_text.py
+++ b/textw/upgrade_text.py
@@ -197,16 +197,22 @@ class UpgradeExamineWindow:
scroll = 0
partList = []
for (drive, fs, desc) in parts:
- partList.append("/dev/%s (%s)" %(drive, desc))
- partList.append("Don't Upgrade")
+ if drive[:5] != "/dev/":
+ devname = "/dev/" + drive
+ else:
+ devname = drive
+ partList.append("%s (%s)" %(desc, drive))
+ partList.append("Reinstall System")
(button, choice) = ListboxChoiceWindow(screen, _("System to Upgrade"),
- _("The following root partitions have been found "
- "on your system. FIXME: I NEED BETTER TEXT "
- "HERE."), partList,
+ _("One or more existing Linux installations "
+ "have been found "
+ "on your system.\n\nPlease choose one to upgrade, "
+ "or select 'Reinstall System' to freshly install "
+ "your system."), partList,
[ TEXT_OK_BUTTON,
TEXT_BACK_BUTTON ],
- width = 30, scroll = scroll,
+ width = 55, scroll = scroll,
height = height,
help = "upgraderoot")