summaryrefslogtreecommitdiffstats
path: root/draklive2
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-01 15:39:45 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-01 15:39:45 +0000
commita11d801dca812921044e05e8b94cea1678c16f82 (patch)
tree024857733b26c5ae96b32c783584fbfd41342449 /draklive2
parent8bb570aafe48b8665ad6f60f0c144d0b3c318e1e (diff)
downloaddrakiso-a11d801dca812921044e05e8b94cea1678c16f82.tar
drakiso-a11d801dca812921044e05e8b94cea1678c16f82.tar.gz
drakiso-a11d801dca812921044e05e8b94cea1678c16f82.tar.bz2
drakiso-a11d801dca812921044e05e8b94cea1678c16f82.tar.xz
drakiso-a11d801dca812921044e05e8b94cea1678c16f82.zip
draklive2: fix removal of dashes from boot screen title.
Diffstat (limited to 'draklive2')
-rwxr-xr-xdraklive23
1 files changed, 1 insertions, 2 deletions
diff --git a/draklive2 b/draklive2
index 4e2cc11..0d2d76a 100755
--- a/draklive2
+++ b/draklive2
@@ -505,8 +505,7 @@ sub create_bootloader {
output($grub2_cfg, build_grub2_cfg($live, $theme_name, \@theme_fonts, $add_lang_menu));
}
- my $title = $label;
- $title =~ s/-/ /gr;
+ my $title = $label =~ s/-/ /gr;
my $base_theme_txt = $grub2_dir . "/themes/$theme_name/theme.txt";
if (-e $base_theme_txt) {