summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2011-11-20 22:37:18 +0000
committerThomas Backlund <tmb@mageia.org>2011-11-20 22:37:18 +0000
commitdf85a41617b5cbb5035fd634f1166dccb8967d55 (patch)
tree5726e4f896a29b26ef074b10af536bfa51c69275
parent024bd164605be73d4896975716d91942bec6b693 (diff)
downloaddraklive-df85a41617b5cbb5035fd634f1166dccb8967d55.tar
draklive-df85a41617b5cbb5035fd634f1166dccb8967d55.tar.gz
draklive-df85a41617b5cbb5035fd634f1166dccb8967d55.tar.bz2
draklive-df85a41617b5cbb5035fd634f1166dccb8967d55.tar.xz
draklive-df85a41617b5cbb5035fd634f1166dccb8967d55.zip
adapt for Mageia naming scheme (https://wiki.mageia.org/en/Product_naming)
-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});
}