aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-25 19:04:25 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-25 19:04:25 +0000
commitb5983e7541c0e9456428318eaab8c2cecfda6f92 (patch)
treefcb4e57d9df01597296bb941e4020e90cb05e05d /Rpmdrake
parent877d60ae62dc83a216ee4474bf4ac682380a1b43 (diff)
downloadrpmdrake-b5983e7541c0e9456428318eaab8c2cecfda6f92.tar
rpmdrake-b5983e7541c0e9456428318eaab8c2cecfda6f92.tar.gz
rpmdrake-b5983e7541c0e9456428318eaab8c2cecfda6f92.tar.bz2
rpmdrake-b5983e7541c0e9456428318eaab8c2cecfda6f92.tar.xz
rpmdrake-b5983e7541c0e9456428318eaab8c2cecfda6f92.zip
(extract_header) {cachedir}/headers is not used anymore
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 54da3dc6..f3dcd196 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -153,7 +153,7 @@ sub extract_header {
}
#- even if non-root, search for a header in the global cachedir
- my $file = $local_source || "$urpm->{cachedir}/headers/" . $p->header_filename;
+ my $file = $local_source;
if (-s $file) {
$p->update_header($file) or do {
warn "Warning, could not extract header for $name from $medium!";