From 835e16fe255f03a8c73381eccffcdf960fbfa083 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 18 Jun 2007 07:03:11 +0000 Subject: - urpmi o for long package names, ensure progression of installation (####...) is still properly indented (#28639) --- NEWS | 4 ++++ urpm/install.pm | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 169ba22a..87b7cce2 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +- urpmi + o for long package names, ensure progression of installation (####...) is + still properly indented (#28639) + Version 4.9.26 - 14 June 2007, by Pascal "Pixel" Rigaux - urpmf diff --git a/urpm/install.pm b/urpm/install.pm index 9bf6c448..189e96f8 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -75,7 +75,9 @@ sub install_logger { ++$urpm->{logger_count} if $pname; my $cnt = $pname ? $urpm->{logger_count} : '-'; $pname ||= N("[repackaging]"); - printf "%9s: %-22s", $cnt . "/" . $total_pkg, $pname; + my $s = sprintf("%9s: %-22s", $cnt . "/" . $total_pkg, $pname); + print $s; + $s =~ / $/ or printf "\n%9s %-22s", '', ''; } } elsif ($subtype eq 'stop') { if ($urpm->{logger_progress} < $progress_size) { -- cgit v1.2.1