diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-08 06:50:36 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-08 06:50:36 +0000 |
commit | 0a1f18d5c5ffda545bba502cfc4485d3a22d8c0e (patch) | |
tree | a37d4e1ce0a9ea76c6158b6fef9b9494f49017b6 /urpm/parallel_ssh.pm | |
parent | b852835656003fb331f757dc2bb411fff8882ea4 (diff) | |
download | urpmi-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/parallel_ssh.pm')
-rw-r--r-- | urpm/parallel_ssh.pm | 2 |
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(); |