diff options
author | Francois Pons <fpons@mandriva.com> | 2002-07-18 15:51:23 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-07-18 15:51:23 +0000 |
commit | 59656117c5c71887e70cab14e268a35c8ab548da (patch) | |
tree | e07b170222903bf6f1c84f6d4b93fccaf84cb596 /perl-install/install_any.pm | |
parent | 1bef0e5375fedb9a2cc24de85c10190f1ac0a1f6 (diff) | |
download | drakx-59656117c5c71887e70cab14e268a35c8ab548da.tar drakx-59656117c5c71887e70cab14e268a35c8ab548da.tar.gz drakx-59656117c5c71887e70cab14e268a35c8ab548da.tar.bz2 drakx-59656117c5c71887e70cab14e268a35c8ab548da.tar.xz drakx-59656117c5c71887e70cab14e268a35c8ab548da.zip |
fixes allowNVIDIA_rpms against perl-URPM.
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; |