diff options
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index e7b91bf2c..401de60ef 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -192,7 +192,7 @@ sub allowNVIDIA_rpms { if (pkgs::packageByName($packages, "NVIDIA_GLX")) { #- at this point, we can allow using NVIDIA 3D acceleration packages. my @rpms; - foreach (keys %{$packages->{names}}) { + foreach (@{$packages->{depslist}}) { my ($ext, $version, $release) = /kernel[^-]*(-smp|-enterprise|-secure)?(?:-(\d.*?)\.(\d+mdk))?$/ or next; my $p = pkgs::packageByName($packages, $_); $p->flag_available or next; |