diff options
Diffstat (limited to 'src/fe/dialog/gli-dialog.py')
-rwxr-xr-x | src/fe/dialog/gli-dialog.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe/dialog/gli-dialog.py b/src/fe/dialog/gli-dialog.py index 42fb5d0..c99b0c9 100755 --- a/src/fe/dialog/gli-dialog.py +++ b/src/fe/dialog/gli-dialog.py @@ -336,11 +336,11 @@ Press OK to continue""") code, choice = self._d.menu(_(u"Please define the mountpoints of your partitions for the new system. At minimum, a / mountpoint must be defined. Defining /boot and /home mountpoints is recommended."),choices=choices, cancel=_(u"Save and Continue"), height=18, width=65) if code == self._DLG_CANCEL: #Apply a check here for the existence of at least a root partition. - foundroot = False for mount in mounts: if mount['mountpoint'] == "/": - foundroot = True - if not foundroot: + break + else: + self._d.msgbox(_(u"You must select a partition to mount at / to continue")) continue try: self._install_profile.set_mounts(mounts) |