diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-06 14:03:22 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-06 14:03:22 +0000 |
commit | bddad3c24ca5fe5f8091852e07806973f1bb0dfe (patch) | |
tree | cb2c2112e35cafb50591d613cabf4123b681d8a9 | |
parent | 681bd149105330cc08682c569067daa4effe04e7 (diff) | |
download | rpmdrake-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)
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
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') { |