summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
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
commit7e27179101eed96340076c2c5ecd7754107b8560 (patch)
treeae68dcb48a76dff698ce11dc550849ce06b25151 /perl-install/detect_devices.pm
parent3f9e22aa007f0a3300ee99c271a4de53663717e8 (diff)
downloaddrakx-backup-do-not-use-7e27179101eed96340076c2c5ecd7754107b8560.tar
drakx-backup-do-not-use-7e27179101eed96340076c2c5ecd7754107b8560.tar.gz
drakx-backup-do-not-use-7e27179101eed96340076c2c5ecd7754107b8560.tar.bz2
drakx-backup-do-not-use-7e27179101eed96340076c2c5ecd7754107b8560.tar.xz
drakx-backup-do-not-use-7e27179101eed96340076c2c5ecd7754107b8560.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)
Diffstat (limited to 'perl-install/detect_devices.pm')
-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() {