From e5a279e75e243d406c9d2d7b43f021f45d519aaf Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 7 Sep 2011 17:58:28 +0000 Subject: (hasCPUFreq) fix cpufreq detection corrupting other types --- perl-install/detect_devices.pm | 2 +- perl-install/install/NEWS | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 117f14ed8..cb91c225a 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -1256,7 +1256,7 @@ sub hasCPUMicrocode() { return $hasCPUMicrocode; } -sub hasCPUFreq() { require cpufreq; cpufreq::get_modules() } +sub hasCPUFreq() { require cpufreq; to_bool(cpufreq::get_modules()) } sub hasWacom() { find { $_->{vendor} == 0x056a || $_->{driver} =~ /wacom/ } usb_probe() } sub hasTouchpad() { any { $_->{Synaptics} || $_->{ALPS} || $_->{Elantech} } getInputDevices() } sub hasNumpad() { any { $_->{Numpad} } getInputDevices() } diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index c12c1030a..747502be2 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- fix cpufreq detection corrupting other types + Version 13.62 - 22 August 2011 - always align partitions to start at megabyte boundaries to avoid -- cgit v1.2.1