diff options
-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"; |