aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-10 16:35:42 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-10 16:35:42 +0000
commitab4345a91872731a1521bd20f872f773672440ad (patch)
tree987c81d309004126ec8a94f0645a33e41e783e0e
parentd96ff790da29a8e9e5fb33914ca5969f3603054f (diff)
downloadrpmdrake-ab4345a91872731a1521bd20f872f773672440ad.tar
rpmdrake-ab4345a91872731a1521bd20f872f773672440ad.tar.gz
rpmdrake-ab4345a91872731a1521bd20f872f773672440ad.tar.bz2
rpmdrake-ab4345a91872731a1521bd20f872f773672440ad.tar.xz
rpmdrake-ab4345a91872731a1521bd20f872f773672440ad.zip
(extract_header) display which package failed, and from which hdlist
(helpfull for #32349)
-rwxr-xr-xRpmdrake/pkg.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 216a20c9..7d392751 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -114,12 +114,12 @@ sub extract_header {
-d $headersdir or warn qq(Could not create temporary directory "$headersdir");
}
-d $headersdir or do {
- warn "Warning, could not extract header!";
+ warn "Warning, could not extract header for $name from $hdlist!";
goto header_non_available;
};
$packer->extract($headersdir, $p->header_filename);
$p->update_header("$headersdir/" . $p->header_filename) or do {
- warn "Warning, could not extract header!";
+ warn "Warning, could not extract header for $name from $hdlist!";
goto header_non_available;
};
rm_rf($headersdir);