summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive10
1 files changed, 5 insertions, 5 deletions
diff --git a/draklive b/draklive
index 3cadf93..2df2d28 100755
--- a/draklive
+++ b/draklive
@@ -542,16 +542,16 @@ sub remove_unneeded_bootlogo_locales {
sub create_media_bootloader {
my ($live) = @_;
cp_f($live->get_system_root . '/boot/vmlinuz-' . $live->find_kernel, $live->get_builddir . $live->{prefix}{build}{boot} . '/vmlinuz');
- require bootsplash;
- my $theme = do {
- local $::prefix = $live->get_system_root;
- bootsplash::themes_read_sysconfig('800x600');
- };
my $syslinux_dir = $live->get_builddir . $live->{prefix}{build}{boot} . '/syslinux';
mkdir_p($syslinux_dir);
if ($live->{system}{gfxboot}) {
my $default_gfxboot_theme = "Mandriva";
+ require bootsplash;
+ my $theme = do {
+ local $::prefix = $live->get_system_root;
+ bootsplash::themes_read_sysconfig('800x600');
+ };
print "copying $default_gfxboot_theme gfxboot theme\n";
cp_f(glob_($live->get_system_root . "/usr/share/gfxboot/themes/$default_gfxboot_theme/install/*"), $syslinux_dir);
if ($theme->{name} ne $default_gfxboot_theme) {