diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-04-13 12:02:13 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-04-13 12:02:13 +0000 |
commit | 77e89eb74db0d5c4c7bc157351a194f61d945063 (patch) | |
tree | 7ec492203db63cedb488e1f47b060edb441e32e9 /urpm.pm | |
parent | a35fdac66ab0505d9422be82e16f53e167b00fe6 (diff) | |
download | urpmi-77e89eb74db0d5c4c7bc157351a194f61d945063.tar urpmi-77e89eb74db0d5c4c7bc157351a194f61d945063.tar.gz urpmi-77e89eb74db0d5c4c7bc157351a194f61d945063.tar.bz2 urpmi-77e89eb74db0d5c4c7bc157351a194f61d945063.tar.xz urpmi-77e89eb74db0d5c4c7bc157351a194f61d945063.zip |
Fix counter in repackaging progress bars
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2918,8 +2918,9 @@ sub install_logger { ++$urpm->{logger_id}; my $pname = $pkg ? $pkg->name : ''; ++$urpm->{logger_count} if $pname; + my $cnt = $pname ? $urpm->{logger_count} : '-'; $pname ||= N("[repackaging]"); - printf "%9s: %-22s", $urpm->{logger_count} . "/" . $total_pkg, $pname; + printf "%9s: %-22s", $cnt . "/" . $total_pkg, $pname; } } elsif ($subtype eq 'stop') { if ($urpm->{logger_progress} < $progress_size) { |