diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-11-19 10:25:13 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-11-19 10:25:13 +0000 |
commit | 7654ecb6a291395e51e5379b41f59eb01a2f2b6d (patch) | |
tree | 12f8708293984e6974a28c1bac798adbf0396e74 | |
parent | fca406165d00e4d86704ec57ee3172fef1b71cb5 (diff) | |
download | urpmi-7654ecb6a291395e51e5379b41f59eb01a2f2b6d.tar urpmi-7654ecb6a291395e51e5379b41f59eb01a2f2b6d.tar.gz urpmi-7654ecb6a291395e51e5379b41f59eb01a2f2b6d.tar.bz2 urpmi-7654ecb6a291395e51e5379b41f59eb01a2f2b6d.tar.xz urpmi-7654ecb6a291395e51e5379b41f59eb01a2f2b6d.zip |
Factorization
-rwxr-xr-x | urpmi | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -632,24 +632,7 @@ foreach my $set (@{$state->{transaction} || []}) { gurpm::progress(1); } } else { - if ($mode eq 'start') { - print STDERR " $file\n"; #- allow pass-protected url to be logged. - } elsif ($mode eq 'progress') { - my $text; - if (defined $total && defined $eta) { - $text = N(" %s%% of %s completed, ETA = %s, speed = %s", - $percent, $total, $eta, $speed); - } else { - $text = N(" %s%% completed, speed = %s", - $percent, $speed); - } - print SAVEERR $text, " " x (79 - length($text)), "\r"; - } elsif ($mode eq 'end') { - print SAVEERR " " x 79, "\r"; - } elsif ($mode eq 'error') { - #- error is 3rd argument, saved in $percent - print STDERR N("...retrieving failed: %s", $percent), "\n"; - } + goto &urpm::download::sync_logger; } }, ); |