From df85a41617b5cbb5035fd634f1166dccb8967d55 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Sun, 20 Nov 2011 22:37:18 +0000 Subject: adapt for Mageia naming scheme (https://wiki.mageia.org/en/Product_naming) --- NEWS | 2 ++ lib/MDV/Draklive/Live.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 8eeef97..378d930 100644 --- a/NEWS +++ b/NEWS @@ -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}); } -- cgit v1.2.1