diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-04-19 13:35:21 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-04-19 13:35:21 +0000 |
commit | bb1b050f726ff84e731ca74fc05b041237df1659 (patch) | |
tree | 07b6beb3460f7c9996041dc834bebd63ad470530 /perl-install/mouse.pm | |
parent | d14f8ba4de0abe09678b86e6db031654ac18d3e3 (diff) | |
download | drakx-bb1b050f726ff84e731ca74fc05b041237df1659.tar drakx-bb1b050f726ff84e731ca74fc05b041237df1659.tar.gz drakx-bb1b050f726ff84e731ca74fc05b041237df1659.tar.bz2 drakx-bb1b050f726ff84e731ca74fc05b041237df1659.tar.xz drakx-bb1b050f726ff84e731ca74fc05b041237df1659.zip |
simplify again (Pixel)
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r-- | perl-install/mouse.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index fadf047ff..3a37ab27c 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -289,7 +289,7 @@ sub detect { if (c::kernel_version() =~ /^\Q2.6/) { $modules_conf->get_probeall("usb-interface") and eval { modules::load('usbhid') }; - if (any { /^H: Handlers=mouse/ } cat_('/proc/bus/input/devices')) { + if (cat_('/proc/bus/input/devices') =~ /^H: Handlers=mouse/) { if (is_xbox()) { return fullname2mouse('Universal|Microsoft Xbox Controller S'); } |