summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-02 14:32:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-02 14:32:47 +0000
commit076d81eaaea229d7e0885113e008eb04fdf8591f (patch)
treef4554837c7173d8d1ec4e5b97d92769e5e23e599 /perl-install
parentf80dfb131a6c211ada5150d95934f9d12848b46e (diff)
downloaddrakx-076d81eaaea229d7e0885113e008eb04fdf8591f.tar
drakx-076d81eaaea229d7e0885113e008eb04fdf8591f.tar.gz
drakx-076d81eaaea229d7e0885113e008eb04fdf8591f.tar.bz2
drakx-076d81eaaea229d7e0885113e008eb04fdf8591f.tar.xz
drakx-076d81eaaea229d7e0885113e008eb04fdf8591f.zip
do not use field {driver} from getInputDevices(), it may break (#31584)
Diffstat (limited to 'perl-install')
-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 bd9f1f656..cec74e79f 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -494,7 +494,7 @@ our @tree =
detector => sub {
f(grep { $_->{driver} =~ /^Mouse:|^Tablet:/ || $_->{media_type} =~ /class\|Mouse/ } @devices),
# USB devices are filtered out since we already catch them through probeall():
- grep { $_->{bus} ne 'usb' && $_->{driver} =~ /mouse/ } detect_devices::getInputDevices();
+ grep { $_->{bus} ne 'usb' && $_->{Handlers}{mouse} } detect_devices::getInputDevices();
},
checked_on_boot => 1,
automatic => 1,