summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/install.pm2
-rw-r--r--urpm/main_loop.pm1
2 files changed, 0 insertions, 3 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} : '-';
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index e0e7ef8d..9e944b85 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -247,7 +247,6 @@ foreach my $set (@{$state->{transaction} || []}) {
}
}
print $msg;
- ++$urpm->{logger_id};
++$nok;
push @errors, @l;