From cc594bb251691c2b66eed08692bf1f814cc169d1 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 24 Dec 2008 01:05:45 +0000 Subject: make isolinux folder optional --- draklive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'draklive') diff --git a/draklive b/draklive index 94a1192..f7aa8ea 100755 --- a/draklive +++ b/draklive @@ -559,7 +559,7 @@ sub create_cdrom_master { } sub build_iso_image { - my ($dest, $isolinux_path, $isolinux_cfg, $label, @opts) = @_; + my ($dest, $o_isolinux_path, $isolinux_cfg, $label, @opts) = @_; my $progress = MDV::Draklive::Progress->new(100, time()); my $in_progress; @@ -583,7 +583,7 @@ sub build_iso_image { '-boot-load-size', 4, '-boot-info-table', '-graft-points', if_($dest, '-o', $dest), - 'isolinux=' . $isolinux_path, + if_($o_isolinux_path, 'isolinux=' . $o_isolinux_path), 'isolinux/isolinux.cfg=' . $isolinux_cfg, 'isolinux/isolinux.bin=/usr/lib/syslinux/isolinux.bin', @opts, -- cgit v1.2.1