summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-09-19 16:16:09 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-09-19 16:16:09 +0000
commit14a321460572c9158b78e2abac1e4ecfd939378c (patch)
treee0caf987cd3f5d813a6bffb7e0ef6ff85ebf0b07 /urpm.pm
parentc6d3875606c62c4b061d3c9f26c7024a80cd494f (diff)
downloadurpmi-14a321460572c9158b78e2abac1e4ecfd939378c.tar
urpmi-14a321460572c9158b78e2abac1e4ecfd939378c.tar.gz
urpmi-14a321460572c9158b78e2abac1e4ecfd939378c.tar.bz2
urpmi-14a321460572c9158b78e2abac1e4ecfd939378c.tar.xz
urpmi-14a321460572c9158b78e2abac1e4ecfd939378c.zip
Remove unused check
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 83881bcd..5ebdef4f 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2933,8 +2933,8 @@ sub install_logger {
}
} elsif ($subtype eq 'stop') {
if ($urpm->{logger_progress} < $progress_size) {
- print '#' x ($progress_size - $urpm->{logger_progress});
- print "\n" if $progress_size != $urpm->{logger_progress};
+ print '#' x ($progress_size - $urpm->{logger_progress}), "\n";
+ $urpm->{logger_progress} = 0;
}
} elsif ($subtype eq 'progress') {
my $new_progress = $total > 0 ? int($progress_size * $amount / $total) : $progress_size;