summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-13 11:07:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-13 11:07:50 +0000
commite134c4c741699f647cd9a5ea85800ba222a62149 (patch)
tree973596ab8259ffbf273853163ba32c772af7d494 /perl-install
parentcec778ede7d057eec7b8051796e31399528c1dd6 (diff)
downloaddrakx-backup-do-not-use-e134c4c741699f647cd9a5ea85800ba222a62149.tar
drakx-backup-do-not-use-e134c4c741699f647cd9a5ea85800ba222a62149.tar.gz
drakx-backup-do-not-use-e134c4c741699f647cd9a5ea85800ba222a62149.tar.bz2
drakx-backup-do-not-use-e134c4c741699f647cd9a5ea85800ba222a62149.tar.xz
drakx-backup-do-not-use-e134c4c741699f647cd9a5ea85800ba222a62149.zip
don't use $_total, use $total_ instead
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_interactive.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 81bd7531f..e13fb2bd7 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -639,9 +639,9 @@ sub installPackages {
my $old = \&pkgs::installCallback;
local *pkgs::installCallback = sub {
- my ($data, $type, $id, $subtype, $_amount, $_total) = @_;
+ my ($data, $type, $id, $subtype, $_amount, $total_) = @_;
if ($type eq 'user' && $subtype eq 'install') {
- $total = $_total;
+ $total = $total_;
} elsif ($type eq 'inst' && $subtype eq 'start') {
my $p = $data->{depslist}[$id];
$w->set(N("Installing package %s\n%d%%", $p->name, $total && 100 * $current / $total));