diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-10-13 13:11:28 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-10-13 13:11:28 +0000 |
commit | 652d0bb64bbd6e3fd2fc8e02c190f99fa13d5c3c (patch) | |
tree | aadf2b56d364659885bca9da5c6edd6b77253ba6 /draklive | |
parent | 105d5bb12c6f29c9da35b541dc09da9a4ca79ce5 (diff) | |
download | drakiso-652d0bb64bbd6e3fd2fc8e02c190f99fa13d5c3c.tar drakiso-652d0bb64bbd6e3fd2fc8e02c190f99fa13d5c3c.tar.gz drakiso-652d0bb64bbd6e3fd2fc8e02c190f99fa13d5c3c.tar.bz2 drakiso-652d0bb64bbd6e3fd2fc8e02c190f99fa13d5c3c.tar.xz drakiso-652d0bb64bbd6e3fd2fc8e02c190f99fa13d5c3c.zip |
move code down in gfxboot block
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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) { |