/[smeserver]/cdrom.image/updates/upgrade_text.py
ViewVC logotype

Diff of /cdrom.image/updates/upgrade_text.py

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by slords, Sun Jul 31 16:24:58 2005 UTC Revision 1.6 by slords, Thu Aug 18 01:19:49 2005 UTC
# Line 196  class UpgradeExamineWindow: Line 196  class UpgradeExamineWindow:
196          else:          else:
197              scroll = 0              scroll = 0
198          partList = []          partList = []
199          partList.append(_("Reinstall System"))          partList.append(_("Erase ALL disks, and perform a fresh install"))
200    
201          for (drive, fs, desc) in parts:          for (drive, fs, desc) in parts:
202              if drive[:5] != "/dev/":              partList.append("Upgrade existing system \"%s\"" %(desc))
                 devname = "/dev/" + drive  
             else:  
                 devname = drive  
             partList.append("%s (%s)" %(desc, drive))  
203    
204          (button, choice) =  ListboxChoiceWindow(screen, _("System to Upgrade"),          (button, choice) =  ListboxChoiceWindow(screen, _("System to Upgrade"),
205                              _("One or more existing Linux installations "                              _("Your system is upgradeable."), partList,
                               "have been found "  
                               "on your system.\n\nPlease choose one to upgrade, "  
                               "or select 'Reinstall System' to freshly install "  
                               "your system."), partList,  
206                                                  [ TEXT_OK_BUTTON,                                                  [ TEXT_OK_BUTTON,
207                                                    TEXT_BACK_BUTTON ],                                                    TEXT_BACK_BUTTON ],
208                                                  width = 55, scroll = scroll,                                                  width = 55, scroll = scroll,
209                                                  height = height,                                                  height = height,
210                                                  help = "upgraderoot")                                                  help = "upgraderoot",
211                                                    default = 1)
212    
213          if button == TEXT_BACK_CHECK:          if button == TEXT_BACK_CHECK:
214              return INSTALL_BACK              return INSTALL_BACK
# Line 234  class UpgradeExamineWindow: Line 227  class UpgradeExamineWindow:
227              id.rootParts = parts              id.rootParts = parts
228              dispatch.skipStep("installtype", skip = 1)              dispatch.skipStep("installtype", skip = 1)
229          else:          else:
230  #            dispatch.skipStep("installtype", skip = 0)              dispatch.skipStep("installtype", skip = 0)
231              id.upgradeRoot = None              id.upgradeRoot = None
232    
233          return INSTALL_OK          return INSTALL_OK


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed