summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/draklive b/draklive
index 2586f8c..01b62cc 100755
--- a/draklive
+++ b/draklive
@@ -1056,7 +1056,7 @@ sub set_device_label {
sub get_cdrom_master_path {
my ($live, $opts) = @_;
- get_builddir($live) . $live->{prefix}{build}{images} . '/' . ($opts->{boot} ? 'boot-' . $opts->{boot} : 'live') . '.iso';
+ get_builddir($live) . $live->{prefix}{build}{images} . '/' . get_live_name($live) . ($opts->{boot} && "-boot-$opts->{boot}") . '.iso';
}
sub create_cdrom_master {
@@ -1097,7 +1097,7 @@ sub create_cdrom_master {
sub get_usb_master_path {
my ($live) = @_;
- get_builddir($live) . $live->{prefix}{build}{images} . '/live.img';
+ get_builddir($live) . $live->{prefix}{build}{images} . '/' . get_live_name($live) . '.img';
}
sub create_usb_master {