summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-05-04 16:06:08 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-05-04 16:06:08 +0000
commit9659e883530d1e80eb5b9d469f4d58dfe4c18d04 (patch)
tree281e132acd083d1ed3caa277d3a4fd45f607639f
parent0564c8d123e0966fdd2b4989783c62bca35988d2 (diff)
downloaddrakx-9659e883530d1e80eb5b9d469f4d58dfe4c18d04.tar
drakx-9659e883530d1e80eb5b9d469f4d58dfe4c18d04.tar.gz
drakx-9659e883530d1e80eb5b9d469f4d58dfe4c18d04.tar.bz2
drakx-9659e883530d1e80eb5b9d469f4d58dfe4c18d04.tar.xz
drakx-9659e883530d1e80eb5b9d469f4d58dfe4c18d04.zip
Add 'touchpad' type to rpmsrate
-rw-r--r--perl-install/detect_devices.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 4bc2a0928..741a0dfd6 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -1137,6 +1137,7 @@ sub has_cpu_flag {
sub matching_types() {
+{
laptop => isLaptop(),
+ 'touchpad' => hasTouchpad(),
'64bit' => to_bool(arch() =~ /64/),
wireless => to_bool(get_wireless_interface() || probe_category('network/wireless')),
};