summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-19 10:25:13 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-19 10:25:13 +0000
commit7654ecb6a291395e51e5379b41f59eb01a2f2b6d (patch)
tree12f8708293984e6974a28c1bac798adbf0396e74
parentfca406165d00e4d86704ec57ee3172fef1b71cb5 (diff)
downloadurpmi-7654ecb6a291395e51e5379b41f59eb01a2f2b6d.tar
urpmi-7654ecb6a291395e51e5379b41f59eb01a2f2b6d.tar.gz
urpmi-7654ecb6a291395e51e5379b41f59eb01a2f2b6d.tar.bz2
urpmi-7654ecb6a291395e51e5379b41f59eb01a2f2b6d.tar.xz
urpmi-7654ecb6a291395e51e5379b41f59eb01a2f2b6d.zip
Factorization
-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;
}
},
);