summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-12-15 21:34:01 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-12-15 23:11:21 +0000
commit7a576632911be26f2432f664151613a92b35db93 (patch)
treedc5b952e090eb738ca75f7aa16ae872788474f29 /lib
parentcf03eb32aeb0e01bbb23f8bb65279bb1d940c269 (diff)
downloaddrakiso-7a576632911be26f2432f664151613a92b35db93.tar
drakiso-7a576632911be26f2432f664151613a92b35db93.tar.gz
drakiso-7a576632911be26f2432f664151613a92b35db93.tar.bz2
drakiso-7a576632911be26f2432f664151613a92b35db93.tar.xz
drakiso-7a576632911be26f2432f664151613a92b35db93.zip
Use 'release' instead of 'version' in settings.
This avoids confusion with the 'version' field found in the product.id and urpmi.cfg files, which is just the base version number.
Diffstat (limited to 'lib')
-rw-r--r--lib/MGA/DrakISO/ClassicBuild.pm2
-rw-r--r--lib/MGA/DrakISO/LiveBuild.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/MGA/DrakISO/ClassicBuild.pm b/lib/MGA/DrakISO/ClassicBuild.pm
index eabcd85..c7afc28 100644
--- a/lib/MGA/DrakISO/ClassicBuild.pm
+++ b/lib/MGA/DrakISO/ClassicBuild.pm
@@ -40,7 +40,7 @@ sub new {
}
sub default_name_fields {
- [ qw(distro version arch media) ];
+ [ qw(distro release arch media) ];
}
1;
diff --git a/lib/MGA/DrakISO/LiveBuild.pm b/lib/MGA/DrakISO/LiveBuild.pm
index d252947..824affc 100644
--- a/lib/MGA/DrakISO/LiveBuild.pm
+++ b/lib/MGA/DrakISO/LiveBuild.pm
@@ -41,7 +41,7 @@ sub new {
sub default_name_fields {
my ($build) = @_;
- [ qw(distro version product desktop),
+ [ qw(distro release product desktop),
if_($build->{settings}{region} ne 'all', $build->{settings}{region}),
qw(arch media)
];