summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-08-27 11:19:47 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-08-27 11:19:47 +0100
commit76f1310756cab247fd9200872172f5625ed3b28f (patch)
tree52173e89ed78c882ab1cf184a5e92c4735409eef /lib
parent23c148df040ef4fa6d6350c53a4e6af7a41dc1b6 (diff)
downloaddrakiso-76f1310756cab247fd9200872172f5625ed3b28f.tar
drakiso-76f1310756cab247fd9200872172f5625ed3b28f.tar.gz
drakiso-76f1310756cab247fd9200872172f5625ed3b28f.tar.bz2
drakiso-76f1310756cab247fd9200872172f5625ed3b28f.tar.xz
drakiso-76f1310756cab247fd9200872172f5625ed3b28f.zip
drakclassic: simplify package index file name.
Diffstat (limited to 'lib')
-rw-r--r--lib/MGA/DrakISO/BuildMedia.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/MGA/DrakISO/BuildMedia.pm b/lib/MGA/DrakISO/BuildMedia.pm
index 81ce9c7..31f4298 100644
--- a/lib/MGA/DrakISO/BuildMedia.pm
+++ b/lib/MGA/DrakISO/BuildMedia.pm
@@ -103,13 +103,11 @@ sub prepare_media {
check_installer_media($build, '*');
my $arch = $build->{settings}{arch};
- my $version = $build->{settings}{version};
- my $tag = $build->{settings}{tag};
my $arch_dir = $build->get_build_dir('files/' . $arch);
create_product_id($build, $arch_dir . '/product.id');
- create_index($build, $arch_dir . '/pkg-' . $version . '-' . $tag . '.idx');
+ create_index($build, $arch_dir . '/package.idx');
# We don't expect this function to be called twice, but clean up
# nonetheless.