summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-20 19:34:55 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-20 19:34:55 +0000
commit662a5c39e020c053151a4974427cfff64166c111 (patch)
treedb10c56b79b004e63473437509e9d323394ef7c1 /perl-install/install_steps_interactive.pm
parent19f5efa2b0c3cc95fe7348d56391eec57201425d (diff)
downloaddrakx-backup-do-not-use-662a5c39e020c053151a4974427cfff64166c111.tar
drakx-backup-do-not-use-662a5c39e020c053151a4974427cfff64166c111.tar.gz
drakx-backup-do-not-use-662a5c39e020c053151a4974427cfff64166c111.tar.bz2
drakx-backup-do-not-use-662a5c39e020c053151a4974427cfff64166c111.tar.xz
drakx-backup-do-not-use-662a5c39e020c053151a4974427cfff64166c111.zip
oops i didn't understand the internals of wait_message hence breaking it. hopes that will fix.
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm8
1 files changed, 4 insertions, 4 deletions
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 }
};