summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/draklive b/draklive
index 8d46d9f..653387d 100755
--- a/draklive
+++ b/draklive
@@ -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";