summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-08 06:50:36 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-08 06:50:36 +0000
commit0a1f18d5c5ffda545bba502cfc4485d3a22d8c0e (patch)
treea37d4e1ce0a9ea76c6158b6fef9b9494f49017b6 /urpm
parentb852835656003fb331f757dc2bb411fff8882ea4 (diff)
downloadurpmi-0a1f18d5c5ffda545bba502cfc4485d3a22d8c0e.tar
urpmi-0a1f18d5c5ffda545bba502cfc4485d3a22d8c0e.tar.gz
urpmi-0a1f18d5c5ffda545bba502cfc4485d3a22d8c0e.tar.bz2
urpmi-0a1f18d5c5ffda545bba502cfc4485d3a22d8c0e.tar.xz
urpmi-0a1f18d5c5ffda545bba502cfc4485d3a22d8c0e.zip
Fix parallel installation message
Diffstat (limited to 'urpm')
-rw-r--r--urpm/parallel_ssh.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index 89f44d67..b656f331 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -246,7 +246,7 @@ sub parallel_install {
/\n/ and $log = '';
if (my ($msg, $progress) = $log =~ /^\s*(\S+)\s+(#+)/) {
if ($urpm->{ui} && (gettimeofday() - $last_time > 0.15 || length($progress) == 50)) {
- $urpm->{ui}{msg}->($msg =~ /\d+:(\S+)/ ? urpm::N("Installing %s on %s...", $1, $node)
+ $urpm->{ui_msg}->($msg =~ /\d+:(\S+)/ ? urpm::N("Installing %s on %s...", $1, $node)
: urpm::N("Preparing install on %s...", $node));
$urpm->{ui}{progress}->(length($progress)/50) if ref $urpm->{ui}{progress};
$last_time = gettimeofday();