diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-20 18:00:53 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-20 18:00:53 +0000 |
commit | a8e5b2a614ff0f0be437f5056a8c54e9644857cf (patch) | |
tree | f59526e119eb692fba674ad4126bc5cbe6b62c46 | |
parent | edf5a3bbff958814e29df78f755390cfa7e2db40 (diff) | |
download | urpmi-a8e5b2a614ff0f0be437f5056a8c54e9644857cf.tar urpmi-a8e5b2a614ff0f0be437f5056a8c54e9644857cf.tar.gz urpmi-a8e5b2a614ff0f0be437f5056a8c54e9644857cf.tar.bz2 urpmi-a8e5b2a614ff0f0be437f5056a8c54e9644857cf.tar.xz urpmi-a8e5b2a614ff0f0be437f5056a8c54e9644857cf.zip |
Remove dead branch
-rw-r--r-- | urpm.pm | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -2902,19 +2902,15 @@ sub install_logger { # there are repackaging transactions too $total_pkg *= 2; } - my $progress_size = $total_pkg ? 45 : 50; + my $progress_size = 45; if ($subtype eq 'start') { $urpm->{logger_progress} = 0; if ($type eq 'trans') { $urpm->{logger_id} ||= 0; - printf($total_pkg ? "%-33s" : "%-28s", N("Preparing...")); + printf("%-28s", N("Preparing...")); } else { - if ($total_pkg) { - printf "%9s: %-22s", (++$urpm->{logger_id}) . "/" . $total_pkg, ($pkg && $pkg->name); - } else { - printf "%4d: %-22s", ++$urpm->{logger_id}, ($pkg && $pkg->name); - } + printf "%9s: %-22s", (++$urpm->{logger_id}) . "/" . $total_pkg, ($pkg && $pkg->name); } } elsif ($subtype eq 'stop') { if ($urpm->{logger_progress} < $progress_size) { |