diff options
author | jrb <jrb> | 2004-08-23 23:21:16 +0000 |
---|---|---|
committer | jrb <jrb> | 2004-08-23 23:21:16 +0000 |
commit | b674c064457806e944f303e63ca965c5ce7a8a9a (patch) | |
tree | 192c79d3b1f67560811475b609188ed1f516a281 /packages.py | |
parent | 1e785bd9bacdc21846283e043945088f12b7ae41 (diff) | |
download | anaconda-b674c064457806e944f303e63ca965c5ce7a8a9a.tar.gz anaconda-b674c064457806e944f303e63ca965c5ce7a8a9a.tar.xz anaconda-b674c064457806e944f303e63ca965c5ce7a8a9a.zip |
make rootpath work nicer
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/packages.py b/packages.py index bf0473b3c..8351659d1 100644 --- a/packages.py +++ b/packages.py @@ -1486,10 +1486,16 @@ def betaNagScreen(intf, dir): custom_buttons=[_("_Exit"), _("_Install anyway")]) if not rc: + if flags.rootpath: + msg = _("The installer will now exit...") + buttons = [_("_Back"), _("_Exit")] + else: + msg = _("Your system will now be rebooted...") + buttons = [_("_Back"), _("_Reboot")] rc = intf.messageWindow( _("Rebooting System"), - _("Your system will now be rebooted..."), - type="custom", custom_icon="warning", - custom_buttons=[_("_Back"), _("_Reboot")]) + msg, + type="custom", custom_icon="warning", + custom_buttons=buttons) if rc: sys.exit(0) else: |