summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-27 18:43:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-27 18:43:51 +0000
commit132de14f4face2f38c1e85102ca710239831696b (patch)
treeb4483aa470e11f89321730881f7c6c3eb753ad98 /perl-install/pkgs.pm
parenta3e052ab504110709bed840d5845da17b9708273 (diff)
downloaddrakx-backup-do-not-use-132de14f4face2f38c1e85102ca710239831696b.tar
drakx-backup-do-not-use-132de14f4face2f38c1e85102ca710239831696b.tar.gz
drakx-backup-do-not-use-132de14f4face2f38c1e85102ca710239831696b.tar.bz2
drakx-backup-do-not-use-132de14f4face2f38c1e85102ca710239831696b.tar.xz
drakx-backup-do-not-use-132de14f4face2f38c1e85102ca710239831696b.zip
perl_checker fix
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 962ee81de..075d6dfb5 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -217,7 +217,7 @@ sub packageRequest {
}
sub packageCallbackChoices {
- my ($urpm, $_db, $_state, $choices) = @_;
+ my ($urpm, $_db, $state, $choices) = @_;
if (my $prefer = find { exists $preferred{$_->name} } @$choices) {
$prefer;
} else {
@@ -236,7 +236,7 @@ sub packageCallbackChoices {
} @$choices;
if (!@l) {
push @l, $choices->[0];
- log::l("packageCallbackChoices: default choice from ", join(",", map { $urpm->{depslist}[$_]->name } keys %{$_state->{selected}}), " in ", join(",", map { $_->name } @$choices));
+ log::l("packageCallbackChoices: default choice from ", join(",", map { $urpm->{depslist}[$_]->name } keys %{$state->{selected}}), " in ", join(",", map { $_->name } @$choices));
}
#-log::l("packageCallbackChoices: chosen " . join(" ", map { $_->name } @l));
@l;