diff options
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r-- | perl-install/install/pkgs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 98b976505..e3d453791 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -164,7 +164,7 @@ sub packageCallbackChoices { sub _packageCallbackChoices_ { my ($urpm, $choices, $virtual_pkg_name) = @_; - my ($prefer, $_other) = urpm::select::get_preferred($urpm, $choices, ''); + my ($prefer, $_other) = urpm::select::get_preferred($urpm, $choices, $::o->{preferred_packages}); if (@$prefer) { @$prefer; } elsif ($virtual_pkg_name eq 'kernel') { |