summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive7
1 files changed, 6 insertions, 1 deletions
diff --git a/draklive b/draklive
index 9553f83..7dfad10 100755
--- a/draklive
+++ b/draklive
@@ -466,7 +466,12 @@ sub create_bootloader {
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);
- cp_f($live->get_system_root . '/boot/gfxmenu', $boot_dir);
+ my $gfxmenu = $live->get_system_root . '/boot/gfxmenu';
+ if (-e $gfxmenu) {
+ cp_f($gfxmenu, $boot_dir);
+ } else {
+ warn "no gfxmenu file\n";
+ }
}
sub create_media_bootloader {