summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-08 18:52:21 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-08 18:52:21 +0000
commit5b15a44230478fd298b3b81593b59f13edac5011 (patch)
tree3fb52467761e09fe9ab50f4b6dac5b735bdf775b
parentd976891fe38a82a8aa6e0fb6a5c5bb40bab1a18e (diff)
downloadurpmi-5b15a44230478fd298b3b81593b59f13edac5011.tar
urpmi-5b15a44230478fd298b3b81593b59f13edac5011.tar.gz
urpmi-5b15a44230478fd298b3b81593b59f13edac5011.tar.bz2
urpmi-5b15a44230478fd298b3b81593b59f13edac5011.tar.xz
urpmi-5b15a44230478fd298b3b81593b59f13edac5011.zip
(trans_log) simplify
(should have been done right after commit r14609 by rafael on Dec 2004: "Remove support for urpmi -X")
-rwxr-xr-xurpmi5
1 files changed, 1 insertions, 4 deletions
diff --git a/urpmi b/urpmi
index d8f99de8..03abd8b0 100755
--- a/urpmi
+++ b/urpmi
@@ -651,10 +651,7 @@ my $exit_code = urpm::main_loop::run($urpm, $state,
defined message_input_("$msg\n$msg2 ");
}
}) : ()),
- trans_log => sub {
-# my ($mode, $file, $percent, $total, $eta, $speed) = @_;
- goto &urpm::download::sync_logger;
- },
+ trans_log => &urpm::download::sync_logger,
bad_signature => sub {
my ($msg, $msg2) = @_;
#- rurpmi always abort here