From 3a84385d8cbe3503b4c5d1f003f1b45b39fc3194 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 7 Dec 2011 18:48:20 +0000 Subject: revert incorrect change in is_netbook_nettop(), the regexp was ok, fix perl_checker instead --- perl-install/detect_devices.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 5bf5bd366..b9eaa932a 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -1215,8 +1215,8 @@ sub is_vmware() { sub is_netbook_nettop() { my @cpus = getCPUs(); - (any { $_->{'model name'} =~ /(\bIntel\(R\) Atom\(TM\)\b)/i } @cpus) || - (any { $_->{'model name'} =~ /(\bIntel\(R\) Celeron\(R\) M processor\b|\bVIA C7-M Processor\b|\bGeode\(TM\)\b)/i && $_->{'cpu MHz'} < 1500 } @cpus); + (any { $_->{'model name'} =~ /(\bIntel\(R\) Atom\(TM\)\B)/i } @cpus) || + (any { $_->{'model name'} =~ /(\bIntel\(R\) Celeron\(R\) M processor\b|\bVIA C7-M Processor\b|\bGeode\(TM\)\B)/i && $_->{'cpu MHz'} < 1500 } @cpus); } sub has_low_resources() { -- cgit v1.2.1