From e493f58493e326b9f33b6e3a512e9098d9922710 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 20 Mar 2006 18:12:00 +0000 Subject: Better alignment of progress bars. Remove incorrect total count. --- urpm.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index b9262b0c..3545612d 100644 --- a/urpm.pm +++ b/urpm.pm @@ -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 : ''; -- cgit v1.2.1