summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-12-07 18:29:01 +0000
committerThierry Vignaud <tv@mageia.org>2011-12-07 18:29:01 +0000
commit7c941303e1da5e9ab2ee89ce4555b3a184e4ce15 (patch)
treeae68dcb48a76dff698ce11dc550849ce06b25151
parent302c326bf7f54441cb76278ef58992143bb6a4f7 (diff)
downloaddrakx-7c941303e1da5e9ab2ee89ce4555b3a184e4ce15.tar
drakx-7c941303e1da5e9ab2ee89ce4555b3a184e4ce15.tar.gz
drakx-7c941303e1da5e9ab2ee89ce4555b3a184e4ce15.tar.bz2
drakx-7c941303e1da5e9ab2ee89ce4555b3a184e4ce15.tar.xz
drakx-7c941303e1da5e9ab2ee89ce4555b3a184e4ce15.zip
(is_netbook_nettop) fix typos
detection was probably broken since introducing that function in "allow detection of low resources systems (extracted from compssUsers.pl) and netbooks/nettops" by blino on Oct 2 2008 (found by perl_checker)
-rw-r--r--perl-install/detect_devices.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index fbe6aa27f..a7ca9644b 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() {