From 662a5c39e020c053151a4974427cfff64166c111 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 20 Feb 2003 19:34:55 +0000 Subject: oops i didn't understand the internals of wait_message hence breaking it. hopes that will fix. --- perl-install/install_steps_interactive.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 49641703a..db7351ca3 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -340,7 +340,7 @@ sub formatMountPartitions { fs::formatMount_all($o->{all_hds}{raids}, $o->{fstab}, $o->{prefix}, sub { my ($msg) = @_; $w ||= $o->wait_message('', $msg); - $w->set_label($msg); + $w->set($msg); }); } sub { $@ =~ /fsck failed on (\S+)/ or return; @@ -358,11 +358,11 @@ sub setPackages { N("Looking for available packages...")); install_any::setPackages($o, $rebuild_needed); - $w->set_label(N("Looking at packages already installed...")); + $w->set(N("Looking at packages already installed...")); pkgs::selectPackagesAlreadyInstalled($o->{packages}, $o->{prefix}); if ($rebuild_needed) { - $w->set_label(N("Finding packages to upgrade...")); + $w->set(N("Finding packages to upgrade...")); pkgs::selectPackagesToUpgrade($o->{packages}, $o->{prefix}); } } @@ -658,7 +658,7 @@ sub installPackages { $total = $total_; } elsif ($type eq 'inst' && $subtype eq 'start') { my $p = $data->{depslist}[$id]; - $w->set_label(N("Installing package %s\n%d%%", $p->name, $total && 100 * $current / $total)); + $w->set(N("Installing package %s\n%d%%", $p->name, $total && 100 * $current / $total)); $current += $p->size; } else { goto $old } }; -- cgit v1.2.1