summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-25 02:47:57 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-25 02:47:57 +0000
commit31df0a5caff2ac502324cd6047dc1f5c95399236 (patch)
treec1ea64cebfe7df8cb2ecbdceb9281c1baf7984a1 /perl-install
parent4ef582af12fabc4a38ca415a60a02dc9def13e64 (diff)
downloaddrakx-backup-do-not-use-31df0a5caff2ac502324cd6047dc1f5c95399236.tar
drakx-backup-do-not-use-31df0a5caff2ac502324cd6047dc1f5c95399236.tar.gz
drakx-backup-do-not-use-31df0a5caff2ac502324cd6047dc1f5c95399236.tar.bz2
drakx-backup-do-not-use-31df0a5caff2ac502324cd6047dc1f5c95399236.tar.xz
drakx-backup-do-not-use-31df0a5caff2ac502324cd6047dc1f5c95399236.zip
fix alps touchpads detection
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index eeec05624..61192d2fc 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -475,9 +475,7 @@ sub getInputDevices() {
}
sub getSynapticsTouchpads() {
- grep {
- member($_->{description}, "|SynPS/2 Synaptics TouchPad", "|AlpsPS/2 ALPS TouchPad");
- } getInputDevices();
+ grep { $_->{description} =~ m,^\|(?:SynPS/2 Synaptics TouchPad$|AlpsPS/2 ALPS), } getInputDevices();
}
sub getSerialModem {