summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-17 09:22:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-17 09:22:38 +0000
commit494f147be1e4d47d2d8f59a245726435dc7117e2 (patch)
tree56e29061f06371409d19c72bfe12f2d688e9ad23 /perl-install/standalone/harddrake2
parent41397fe65fb087679a3e8d1faafe2f3996d5692e (diff)
downloaddrakx-494f147be1e4d47d2d8f59a245726435dc7117e2.tar
drakx-494f147be1e4d47d2d8f59a245726435dc7117e2.tar.gz
drakx-494f147be1e4d47d2d8f59a245726435dc7117e2.tar.bz2
drakx-494f147be1e4d47d2d8f59a245726435dc7117e2.tar.xz
drakx-494f147be1e4d47d2d8f59a245726435dc7117e2.zip
blacklist agp controllers class (they're still visible in the bridges one)
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-xperl-install/standalone/harddrake22
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 658b03571..ae9f6d96c 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -246,6 +246,8 @@ my @classes;
foreach (@harddrake::data::tree) {
my ($Ident, $title, $icon, $configurator, $detector) = @$_;
next if ref($detector) ne "CODE"; #skip class witouth detector
+ # blacklist agp controllers b/c string is not yet translated:
+ next if $Ident eq 'AGP';
next if $Ident =~ /(MODEM|PRINTER)/ && $::testing;
next if $Ident =~ /JAZZ/ && !$options{JAZZ_DETECTION};
next if $Ident =~ /MODEM/ && !$options{MODEMS_DETECTION};