diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-11-18 20:15:15 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-11-18 20:15:15 +0000 |
commit | 0e1961f0eb514e64d924897e7ebed7e1869ee8a7 (patch) | |
tree | f3608ccf8a3e53a22ff59521f58235f97cddd8fb /draklive | |
parent | c3446117b7bf6ad06479795406ffbc18ec62ce87 (diff) | |
download | drakiso-0e1961f0eb514e64d924897e7ebed7e1869ee8a7.tar drakiso-0e1961f0eb514e64d924897e7ebed7e1869ee8a7.tar.gz drakiso-0e1961f0eb514e64d924897e7ebed7e1869ee8a7.tar.bz2 drakiso-0e1961f0eb514e64d924897e7ebed7e1869ee8a7.tar.xz drakiso-0e1961f0eb514e64d924897e7ebed7e1869ee8a7.zip |
move code to proper block
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -502,10 +502,10 @@ sub create_bootloader { if ($live->{system}{gfxboot}) { #- grub-gfxmenu would be run by bootloader::write_grub from DrakX run_({ root => $live->get_system_root }, '/usr/sbin/grub-gfxmenu', '--update-gfxmenu'); - my $boot_dir = $live->get_builddir . $live->{prefix}{build}{boot}; - mkdir_p($boot_dir); my $gfxmenu = $live->get_system_root . '/boot/gfxmenu'; if (-e $gfxmenu) { + my $boot_dir = $live->get_builddir . $live->{prefix}{build}{boot}; + mkdir_p($boot_dir); cp_f($gfxmenu, $boot_dir); } else { warn "no gfxmenu file\n"; |