summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-01-08 21:10:36 +0159
committerThomas Backlund <tmb@mageia.org>2015-01-08 21:10:36 +0159
commit10f49c1ed61eb3d688f30c34cc5a321904f2971b (patch)
tree37fb61cab286eab113669ae29b0544e50a86c9cc /perl-install
parent55d5f9f81a9b01b582f872221c8c4c3d383d97ba (diff)
downloaddrakx-10f49c1ed61eb3d688f30c34cc5a321904f2971b.tar
drakx-10f49c1ed61eb3d688f30c34cc5a321904f2971b.tar.gz
drakx-10f49c1ed61eb3d688f30c34cc5a321904f2971b.tar.bz2
drakx-10f49c1ed61eb3d688f30c34cc5a321904f2971b.tar.xz
drakx-10f49c1ed61eb3d688f30c34cc5a321904f2971b.zip
only grub2 supports uefi for now
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 7ca1fdbf5..0924d7bac 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1241,10 +1241,12 @@ sub config_files() {
sub method2text {
my ($method) = @_;
+{
+ if_( ! is_uefi(),
'lilo-menu' => N("LILO with text menu"),
- 'grub2' => N("GRUB2 with graphical menu"),
'grub-graphic' => N("GRUB with graphical menu"),
'grub-menu' => N("GRUB with text menu"),
+ ),
+ 'grub2' => N("GRUB2 with graphical menu"),
}->{$method};
}