summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
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 {