diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-08-05 17:03:02 +0100 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-08-11 21:03:59 +0100 |
commit | f0fe28807a30317d43c78c323311790e4095a5b4 (patch) | |
tree | 1ad33352965555388343c76cfeb5e98130fe26ef /perl-install/bootloader.pm | |
parent | f241fed054e3cc0c51780bfb6b56bf22c838135c (diff) | |
download | drakx-f0fe28807a30317d43c78c323311790e4095a5b4.tar drakx-f0fe28807a30317d43c78c323311790e4095a5b4.tar.gz drakx-f0fe28807a30317d43c78c323311790e4095a5b4.tar.bz2 drakx-f0fe28807a30317d43c78c323311790e4095a5b4.tar.xz drakx-f0fe28807a30317d43c78c323311790e4095a5b4.zip |
bootloader: include the 'Mageia' entry in the grub2 Default choices (mga#23393)
A parsing bug in bootloader::read_grub2() stopped the main menuentry
being added to $bootloader{entries}.
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 0c6240a80..7c8a6c15c 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -342,7 +342,7 @@ sub read_grub2() { $entry->{initrd} = $1; } elsif (/submenu\s+['"]([^']+)["']/) { push @menus, $1; - } elsif (/^\s+}/) { + } elsif (/^\s*}/) { if ($entry) { push @{$bootloader{entries}}, $entry; undef $entry; |