aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-05 20:50:12 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-05 20:50:12 +0000
commit45c0870f42e36d696cc3efc2496e8096ff7ae45e (patch)
tree17e9eff0a3e21cf66eaefa572d3ea5cb355a58e0
parent4a7ca605675e9aaa8e77157068252f2e788538df (diff)
downloadrpmdrake-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-xrpmdrake3
1 files changed, 1 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index b0badc1d..b7a142ed 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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;