diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-05 20:50:12 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-05 20:50:12 +0000 |
commit | 45c0870f42e36d696cc3efc2496e8096ff7ae45e (patch) | |
tree | 17e9eff0a3e21cf66eaefa572d3ea5cb355a58e0 | |
parent | 4a7ca605675e9aaa8e77157068252f2e788538df (diff) | |
download | rpmdrake-45c0870f42e36d696cc3efc2496e8096ff7ae45e.tar rpmdrake-45c0870f42e36d696cc3efc2496e8096ff7ae45e.tar.gz rpmdrake-45c0870f42e36d696cc3efc2496e8096ff7ae45e.tar.bz2 rpmdrake-45c0870f42e36d696cc3efc2496e8096ff7ae45e.tar.xz rpmdrake-45c0870f42e36d696cc3efc2496e8096ff7ae45e.zip |
standalone::explanations is not meant to log errors,
use log::l instead
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -115,8 +115,7 @@ sub extract_header { standalone::explanations("Extracting header of " . $p->header_filename . " from $hdlist"); my $packer = new packdrake($hdlist, quiet => 1); $packer->extract_archive($headersdir, $p->header_filename); - $p->update_header($headersdir . $p->header_filename) - or standalone::explanations("Warning, could not extract header!"), goto header_non_available; + $p->update_header($headersdir . $p->header_filename) or log::l("Warning, could not extract header!"), goto header_non_available; rm_rf($headersdir); add2hash($pkg, { summary => $p->summary, description => beautify_description($p->description) }); $p->pack_header; |