summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-01-02 11:18:41 +0000
committerOlivier Blin <oblin@mandriva.org>2006-01-02 11:18:41 +0000
commitd8063ed022c427a0999c03c901eb13e41bb00d44 (patch)
tree80690553addcfc42dfdd83295080267dd851d5cf
parentd189fe1d4f8187826f5412455b029d999883c516 (diff)
downloaddrakx-d8063ed022c427a0999c03c901eb13e41bb00d44.tar
drakx-d8063ed022c427a0999c03c901eb13e41bb00d44.tar.gz
drakx-d8063ed022c427a0999c03c901eb13e41bb00d44.tar.bz2
drakx-d8063ed022c427a0999c03c901eb13e41bb00d44.tar.xz
drakx-d8063ed022c427a0999c03c901eb13e41bb00d44.zip
use -boot prefix in syslinux file only if a specific boot type is specified
-rwxr-xr-xtools/draklive2
1 files changed, 1 insertions, 1 deletions
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 {