aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-06 14:03:22 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-06 14:03:22 +0000
commitbddad3c24ca5fe5f8091852e07806973f1bb0dfe (patch)
treecb2c2112e35cafb50591d613cabf4123b681d8a9 /Rpmdrake
parent681bd149105330cc08682c569067daa4effe04e7 (diff)
downloadrpmdrake-bddad3c24ca5fe5f8091852e07806973f1bb0dfe.tar
rpmdrake-bddad3c24ca5fe5f8091852e07806973f1bb0dfe.tar.gz
rpmdrake-bddad3c24ca5fe5f8091852e07806973f1bb0dfe.tar.bz2
rpmdrake-bddad3c24ca5fe5f8091852e07806973f1bb0dfe.tar.xz
rpmdrake-bddad3c24ca5fe5f8091852e07806973f1bb0dfe.zip
(extract_header) fix extracting info from packages from local media (#37354)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 7eb3ec23..f29efd7e 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -109,7 +109,7 @@ sub extract_header {
my $medium = pkg2medium($p, $urpm);
my ($local_source, %xml_info_pkgs);
if (my $dir = urpm::file_from_local_url($medium->{url})) {
- $local_source = "$dir/" . $p->header_filename;
+ $local_source = "$dir/" . $p->filename;
$urpm->{log}("getting information from rpms from $dir");
} else {
foreach my $xml_info ('info', 'files', 'changelog') {