From 76f1310756cab247fd9200872172f5625ed3b28f Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 27 Aug 2018 11:19:47 +0100 Subject: drakclassic: simplify package index file name. --- lib/MGA/DrakISO/BuildMedia.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') 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. -- cgit v1.2.1