From bfe37c13141bc718a42c0d8b8c3bbff03bfc5ff2 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Fri, 19 Nov 1999 11:38:45 +0000 Subject: *** empty log message *** --- perl-install/install_steps_interactive.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'perl-install/install_steps_interactive.pm') diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index a0567d5f1..803638f5f 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -250,16 +250,16 @@ sub installPackages { my $w = $o->wait_message(_("Installing"), _("Preparing installation")); - my $old = \&log::ld; - local *log::ld = sub { + my $old = \&pkgs::installCallback; + local *pkgs::installCallback = sub { my $m = shift; - if ($m =~ /^starting installation:/) { + if ($m =~ /^Starting installation/) { $total = $_[2]; - } elsif ($m =~ /^starting installing/) { + } elsif ($m =~ /^Starting installing package/) { my $name = $_[0]; $w->set(_("Installing package %s\n%d%%", $name, 100 * $current / $total)); $current += c::headerGetEntry($o->{packages}{$name}{header}, 'size'); - } else { goto $old } + } else { unshift @_, $m; goto $old } }; $o->SUPER::installPackages($packages); } -- cgit v1.2.1