diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-20 18:12:00 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-20 18:12:00 +0000 |
commit | e493f58493e326b9f33b6e3a512e9098d9922710 (patch) | |
tree | 785ecd6ae45fec12776d78976238ccb5bbc47050 | |
parent | dfdf806fffede8afc112e1a6f1ff6130b9feb238 (diff) | |
download | urpmi-e493f58493e326b9f33b6e3a512e9098d9922710.tar urpmi-e493f58493e326b9f33b6e3a512e9098d9922710.tar.gz urpmi-e493f58493e326b9f33b6e3a512e9098d9922710.tar.bz2 urpmi-e493f58493e326b9f33b6e3a512e9098d9922710.tar.xz urpmi-e493f58493e326b9f33b6e3a512e9098d9922710.zip |
Better alignment of progress bars. Remove incorrect total count.
-rw-r--r-- | urpm.pm | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -2898,10 +2898,6 @@ sub install_logger { my ($urpm, $type, $id, $subtype, $amount, $total) = @_; my $pkg = defined $id && $urpm->{depslist}[$id]; my $total_pkg = $urpm->{nb_install}; - if ($urpm->{options}{repackage} || URPM::expand('%_repackage_all_erasures')) { - # there are repackaging transactions too - $total_pkg *= 2; - } my $progress_size = 45; if ($subtype eq 'start') { @@ -2909,7 +2905,7 @@ sub install_logger { if ($type eq 'trans') { $urpm->{logger_id} ||= 0; $urpm->{logger_count} ||= 0; - printf("%-28s", N("Preparing...")); + printf("%-33s", N("Preparing...")); } else { ++$urpm->{logger_id}; my $pname = $pkg ? $pkg->name : ''; |