summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-12-13 17:54:34 +0000
committerOlivier Blin <oblin@mandriva.com>2007-12-13 17:54:34 +0000
commitfde6a95180e1ea5133eded7295c156c65e85ef1f (patch)
tree6c5f1380fd0b2a3b45b5506bcfa0ab24e0618b73
parent2492db0a38a35dc2d00ccd38a4cf31051ddc5ecd (diff)
downloaddraklive-fde6a95180e1ea5133eded7295c156c65e85ef1f.tar
draklive-fde6a95180e1ea5133eded7295c156c65e85ef1f.tar.gz
draklive-fde6a95180e1ea5133eded7295c156c65e85ef1f.tar.bz2
draklive-fde6a95180e1ea5133eded7295c156c65e85ef1f.tar.xz
draklive-fde6a95180e1ea5133eded7295c156c65e85ef1f.zip
name images after live name instead of live.iso/live.img
-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 {