From d8063ed022c427a0999c03c901eb13e41bb00d44 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 2 Jan 2006 11:18:41 +0000 Subject: use -boot prefix in syslinux file only if a specific boot type is specified --- tools/draklive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/draklive b/tools/draklive index 187df0eb0..61c25979e 100755 --- a/tools/draklive +++ b/tools/draklive @@ -253,7 +253,7 @@ sub get_initrd_path { sub get_syslinux_path { my ($live, $media, $o_boot_only) = @_; - $live->{prefix}{boot} . '/' . $media->{storage} . '/syslinux' . ($o_boot_only && '-boot') . '.cfg'; + $live->{prefix}{boot} . '/' . $media->{storage} . '/syslinux' . ($o_boot_only && $media->{boot} && '-boot') . '.cfg'; } sub create_initrd { -- cgit v1.2.1