From db03b9af4f0658271f3841eb3273f1447a4f46a9 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 31 Aug 2012 16:45:26 +0000 Subject: (do_install_3,sync_logger) make it obvious that parameters do be used --- gurpmi2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gurpmi2') diff --git a/gurpmi2 b/gurpmi2 index b3474d30..ca1cee5c 100755 --- a/gurpmi2 +++ b/gurpmi2 @@ -348,13 +348,14 @@ sub do_install_3 () { 1; }, trans_log => sub { - my ($mode, $file, $percent, $_total, $_eta, $_speed) = @_; + my ($mode, $file, $percent, $total, $eta, $speed) = @_; urpm::download::sync_logger(@_); if (member($mode, 'start', 'progress')) { $file =~ s|/*\s*$||; $file =~ s|.*/||; - $progress_label->set_label(N("Downloading package `%s'...", $file) . "\n" . &urpm::download::progress_text); + $progress_label->set_label(N("Downloading package `%s'...", $file) . "\n" . + &urpm::download::progress_text($mode, $file, $percent, $total, $eta, $speed)); } if ($mode eq 'start') { $download_nb++; -- cgit v1.2.1