diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-17 08:21:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-17 08:21:25 +0000 |
commit | 150a5398a5c9647eed75cdb5b014f66b807fa2cf (patch) | |
tree | d607de5297a4a9fddd67300f9c8b7c46ca01965f /urpm/install.pm | |
parent | 33c3afde0670250c7c3ed5ab5876a037d6a504b3 (diff) | |
download | urpmi-150a5398a5c9647eed75cdb5b014f66b807fa2cf.tar urpmi-150a5398a5c9647eed75cdb5b014f66b807fa2cf.tar.gz urpmi-150a5398a5c9647eed75cdb5b014f66b807fa2cf.tar.bz2 urpmi-150a5398a5c9647eed75cdb5b014f66b807fa2cf.tar.xz urpmi-150a5398a5c9647eed75cdb5b014f66b807fa2cf.zip |
$urpm->{logger_id} is unused:
- it has been "replaced" by $urpm->{logger_count}
(r15626 | rgarciasuarez | 2006-03-20)
- it was still used before when urpmi was forking on multiple transactions
(dropped in urpmi 4.9.0, Nov 2006)
Diffstat (limited to 'urpm/install.pm')
-rw-r--r-- | urpm/install.pm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/urpm/install.pm b/urpm/install.pm index a688135a..4ed0000e 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -76,12 +76,10 @@ sub install_logger { if ($subtype eq 'start') { $urpm->{logger_progress} = 0; if ($type eq 'trans') { - $urpm->{logger_id} ||= 0; $urpm->{logger_count} ||= 0; my $p = N("Preparing..."); print $p, " " x (33 - length $p); } else { - ++$urpm->{logger_id}; my $pname = $pkg ? $pkg->name : ''; ++$urpm->{logger_count} if $pname; my $cnt = $pname ? $urpm->{logger_count} : '-'; |