From 575726c46f9e4ff3e686afc0c1f1cb7ff1cbda5f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 20 Oct 2008 15:24:29 +0000 Subject: fix previous commit (thanks to titi) --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index f8e553430..3e057d28f 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -987,7 +987,7 @@ sub get_mac_generation() { sub hasSMP() { return if $::testing; (any { /NR_CPUS limit of 1 reached/ } syslog()) || - (any { /^processor\s*:\s*(\d+)/ && $1 > 0 } syslog()) || + (any { /^processor\s*:\s*(\d+)/ && $1 > 0 } cat_('/proc/cpuinfo')) || any { /\bProcessor #(\d+)\s+(\S*)/ && $1 > 0 && $2 ne 'invalid' } syslog(); } sub hasPCMCIA() { $::o->{pcmcia} } #- because /proc/pcmcia seems not to be present on 2.4 at least (or use /var/run/stab) -- cgit v1.2.1