summaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
parent024bd164605be73d4896975716d91942bec6b693 (diff)
downloaddrakiso-df85a41617b5cbb5035fd634f1166dccb8967d55.tar
drakiso-df85a41617b5cbb5035fd634f1166dccb8967d55.tar.gz
drakiso-df85a41617b5cbb5035fd634f1166dccb8967d55.tar.bz2
drakiso-df85a41617b5cbb5035fd634f1166dccb8967d55.tar.xz
drakiso-df85a41617b5cbb5035fd634f1166dccb8967d55.zip
adapt for Mageia naming scheme (https://wiki.mageia.org/en/Product_naming)
Diffstat (limited to 'lib')
-rw-r--r--lib/MDV/Draklive/Live.pm2
1 files changed, 1 insertions, 1 deletions
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});
}