summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi19
1 files changed, 1 insertions, 18 deletions
diff --git a/urpmi b/urpmi
index 0127eee4..170cf28c 100755
--- a/urpmi
+++ b/urpmi
@@ -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;
}
},
);