summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-11-18 20:15:15 +0000
committerOlivier Blin <oblin@mandriva.com>2009-11-18 20:15:15 +0000
commit0e1961f0eb514e64d924897e7ebed7e1869ee8a7 (patch)
treef3608ccf8a3e53a22ff59521f58235f97cddd8fb /draklive
parentc3446117b7bf6ad06479795406ffbc18ec62ce87 (diff)
downloaddrakiso-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-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";