summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 7e79a8ca6..76a5fde39 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -216,7 +216,7 @@ sub packageCallbackChoices {
#- is already selected.
foreach ($pkg->requires_nosense) {
/locales-/ or next;
- my $p = packageByName($packages, $_) or next;
+ my $p = packageByName($urpm, $_) or next;
$p->flag_available and $prefer ||= $pkg;
}
}