From ab4345a91872731a1521bd20f872f773672440ad Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 10 Aug 2007 16:35:42 +0000 Subject: (extract_header) display which package failed, and from which hdlist (helpfull for #32349) --- Rpmdrake/pkg.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rpmdrake') 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); -- cgit v1.2.1