summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-06 15:57:23 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-06 15:57:23 +0000
commit8c1ccdfa70e0c1d93fed5cf634d072708b817a87 (patch)
tree6e289e4b655805998ae5faf13d184675fc402877 /perl-install
parent3da20c7f7ffa3f082f7ee2193d5262dd4cae813e (diff)
downloaddrakx-backup-do-not-use-8c1ccdfa70e0c1d93fed5cf634d072708b817a87.tar
drakx-backup-do-not-use-8c1ccdfa70e0c1d93fed5cf634d072708b817a87.tar.gz
drakx-backup-do-not-use-8c1ccdfa70e0c1d93fed5cf634d072708b817a87.tar.bz2
drakx-backup-do-not-use-8c1ccdfa70e0c1d93fed5cf634d072708b817a87.tar.xz
drakx-backup-do-not-use-8c1ccdfa70e0c1d93fed5cf634d072708b817a87.zip
dropped allowNVIDIA_rpms method.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm22
1 files changed, 0 insertions, 22 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 10046bae1..66f10144c 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -186,28 +186,6 @@ sub clean_postinstall_rpms() {
#-######################################################################################
-#- Specific Hardware to take into account and associated rpms to install
-#-######################################################################################
-sub allowNVIDIA_rpms {
- my ($packages) = @_;
- require pkgs;
- if (pkgs::packageByName($packages, "NVIDIA_GLX")) {
- #- at this point, we can allow using NVIDIA 3D acceleration packages.
- my @rpms;
- foreach my $p (@{$packages->{depslist}}) {
- my ($ext, $version, $release) = $p->name =~ /kernel[^-]*(-smp|-enterprise|-secure)?(?:-(\d.*?)\.(\d+mdk))?$/ or next;
- $p->flag_available or next;
- $version or ($version, $release) = ($p->version, $p->release);
- my $name = "NVIDIA_kernel-$version-$release$ext";
- pkgs::packageByName($packages, $name) or next;
- push @rpms, $name;
- }
- @rpms > 0 or return;
- return [ @rpms, "NVIDIA_GLX" ];
- }
-}
-
-#-######################################################################################
#- Functions
#-######################################################################################
sub getNextStep {