diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | lib/MDV/Draklive/Live.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- adapt for Mageia naming scheme (https://wiki.mageia.org/en/Product_naming) + 1.3: * build/chroot diff --git a/lib/MDV/Draklive/Live.pm b/lib/MDV/Draklive/Live.pm index 64c0cad..49af192 100644 --- a/lib/MDV/Draklive/Live.pm +++ b/lib/MDV/Draklive/Live.pm @@ -9,7 +9,7 @@ sub new { sub get_name { my ($live) = @_; - my $fields = $live->{name_fields} || [ qw(name product version desktop region media arch) ]; + my $fields = $live->{name_fields} || [ qw(name version product desktop region arch media) ]; join('-', grep { $_ } @{$live->{settings}}{@$fields}); } |