From 4e4f0abc763fd0a3d8a7582fececabb820d6c9df Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 31 Jul 2003 15:48:56 +0000 Subject: fixed logger_id to be set to 0 for the begin of the first transaction and not the begin of all transaction... --- urpm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urpm.pm b/urpm.pm index 996c4dc2..5d7a402d 100644 --- a/urpm.pm +++ b/urpm.pm @@ -2723,7 +2723,7 @@ sub install_logger { if ($subtype eq 'start') { $urpm->{logger_progress} = 0; if ($type eq 'trans') { - $urpm->{logger_id} = 0; + $urpm->{logger_id} ||= 0; printf "%-28s", N("Preparing..."); } else { printf "%4d:%-23s", ++$urpm->{logger_id}, ($pkg && $pkg->name); -- cgit v1.2.1