summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--lib/MDV/Draklive/Live.pm2
2 files changed, 3 insertions, 1 deletions
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});
}