summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-18 07:03:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-18 07:03:11 +0000
commit835e16fe255f03a8c73381eccffcdf960fbfa083 (patch)
tree2a1fa16ad122e5cf114d7c82c625f98a06c22db6 /urpm/install.pm
parentdfd5280ffd719ca218fb3a60d734c18035a6be4e (diff)
downloadurpmi-835e16fe255f03a8c73381eccffcdf960fbfa083.tar
urpmi-835e16fe255f03a8c73381eccffcdf960fbfa083.tar.gz
urpmi-835e16fe255f03a8c73381eccffcdf960fbfa083.tar.bz2
urpmi-835e16fe255f03a8c73381eccffcdf960fbfa083.tar.xz
urpmi-835e16fe255f03a8c73381eccffcdf960fbfa083.zip
- urpmi
o for long package names, ensure progression of installation (####...) is still properly indented (#28639)
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm4
1 files changed, 3 insertions, 1 deletions
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) {