summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-11-19 07:05:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-11-19 07:05:03 +0000
commitf8d21cebb91a7c9612e7a7276ce8406e971f9c7b (patch)
tree572cac6ed46fd07df9cf4020d015f5fbc7a68d16
parent79b979062ace9426450d21c0ad6865dde2b8f3b5 (diff)
downloaddrakx-f8d21cebb91a7c9612e7a7276ce8406e971f9c7b.tar
drakx-f8d21cebb91a7c9612e7a7276ce8406e971f9c7b.tar.gz
drakx-f8d21cebb91a7c9612e7a7276ce8406e971f9c7b.tar.bz2
drakx-f8d21cebb91a7c9612e7a7276ce8406e971f9c7b.tar.xz
drakx-f8d21cebb91a7c9612e7a7276ce8406e971f9c7b.zip
don't display two times some usb mice
-rw-r--r--perl-install/harddrake/data.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index a792dc63e..39587fe66 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -11,7 +11,7 @@ my @devices = detect_devices::probeall(1);
# Update me each time you handle one more devices class (aka configurator)
sub unknown {
- grep { $_->{media_type} !~ /tape|SERIAL_(USB|SMBUS)|Printer|DISPLAY|MULTIMEDIA_(VIDEO|AUDIO|OTHER)|STORAGE_(IDE|SCSI|OTHER)|BRIDGE|NETWORK/ && $_->{driver} ne '^(scanner|usbvision)$' && $_->{type} ne 'network' && $_->{driver} !~ /Mouse:USB|class\|Mouse/ } @devices;
+ grep { $_->{media_type} !~ /tape|SERIAL_(USB|SMBUS)|Printer|DISPLAY|MULTIMEDIA_(VIDEO|AUDIO|OTHER)|STORAGE_(IDE|SCSI|OTHER)|BRIDGE|NETWORK/ && $_->{driver} ne '^(scanner|usbvision)$' && $_->{type} ne 'network' && $_->{driver} !~ /Mouse:USB|class\|Mouse/ && $_->{media_type} !~ /class\|Mouse/ } @devices;
}