diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-21 15:34:26 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-21 15:34:26 +0000 |
commit | b52888b09904b607c8351da18affaf19e3690ee9 (patch) | |
tree | 1b91431c353e10d240e7ebd034d3f87c5dbce44d /lib | |
parent | fb05b3866e0f591bbaa990f94c3755b544761778 (diff) | |
download | drakiso-b52888b09904b607c8351da18affaf19e3690ee9.tar drakiso-b52888b09904b607c8351da18affaf19e3690ee9.tar.gz drakiso-b52888b09904b607c8351da18affaf19e3690ee9.tar.bz2 drakiso-b52888b09904b607c8351da18affaf19e3690ee9.tar.xz drakiso-b52888b09904b607c8351da18affaf19e3690ee9.zip |
Add option to override the bootloader title.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/MGA/DrakISO/BuildBoot.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MGA/DrakISO/BuildBoot.pm b/lib/MGA/DrakISO/BuildBoot.pm index fc0f3fa..2038538 100755 --- a/lib/MGA/DrakISO/BuildBoot.pm +++ b/lib/MGA/DrakISO/BuildBoot.pm @@ -174,7 +174,7 @@ sub prepare_iso_bootloader { output($grub2_cfg, build_grub2_cfg($build, $theme_name, \@theme_fonts, $add_lang_menu, $add_kbd_menu)); } - my $title = $label =~ s/-/ /gr; + my $title = $build->{media}{bootloader_title} // $label =~ s/-/ /gr; # If we have a theme, replace the menu title with the name of the ISO # (extracted from the disk label). |