diff options
Diffstat (limited to 'Rpmdrake/pkg.pm')
-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 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!"; |