summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-07-31 15:48:56 +0000
committerFrancois Pons <fpons@mandriva.com>2003-07-31 15:48:56 +0000
commit4e4f0abc763fd0a3d8a7582fececabb820d6c9df (patch)
treef2d3d8b124799877c2909b37973c67f7d29c350d /urpm.pm
parent2017fd2d4f65693c6b047b67b73148d232b84c19 (diff)
downloadurpmi-4e4f0abc763fd0a3d8a7582fececabb820d6c9df.tar
urpmi-4e4f0abc763fd0a3d8a7582fececabb820d6c9df.tar.gz
urpmi-4e4f0abc763fd0a3d8a7582fececabb820d6c9df.tar.bz2
urpmi-4e4f0abc763fd0a3d8a7582fececabb820d6c9df.tar.xz
urpmi-4e4f0abc763fd0a3d8a7582fececabb820d6c9df.zip
fixed logger_id to be set to 0 for the begin of the first transaction and not
the begin of all transaction...
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
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);