diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-10 16:35:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-10 16:35:42 +0000 |
commit | ab4345a91872731a1521bd20f872f773672440ad (patch) | |
tree | 987c81d309004126ec8a94f0645a33e41e783e0e /Rpmdrake/pkg.pm | |
parent | d96ff790da29a8e9e5fb33914ca5969f3603054f (diff) | |
download | rpmdrake-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)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-x | Rpmdrake/pkg.pm | 4 |
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); |