summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-11-07 16:14:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-11-07 16:14:03 +0000
commit7fd8837081f5f994e7da776103fb2acff5c507ca (patch)
tree6af51bea80b507f97074e4c5c35079c2c85614b4 /perl-install/detect_devices.pm
parent20b0282463625b8b13a32afa9e40e5f4b04d540d (diff)
downloaddrakx-backup-do-not-use-7fd8837081f5f994e7da776103fb2acff5c507ca.tar
drakx-backup-do-not-use-7fd8837081f5f994e7da776103fb2acff5c507ca.tar.gz
drakx-backup-do-not-use-7fd8837081f5f994e7da776103fb2acff5c507ca.tar.bz2
drakx-backup-do-not-use-7fd8837081f5f994e7da776103fb2acff5c507ca.tar.xz
drakx-backup-do-not-use-7fd8837081f5f994e7da776103fb2acff5c507ca.zip
- getCPUs() : fix cpu fields parsing
- harddrake::detect : o describe most cpu fields o print value of skipped fields
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 6072d8d60..ce7ceab7e 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -363,7 +363,7 @@ sub getCPUs {
push @cpus, $cpu if $cpu;
$cpu = {};
}
- /(\S*)\s*:\s*(\S*)/;
+ /^([^\t]*).*:\s(.*)$/;
$cpu->{$1} = $2 if $1;
}
push @cpus, $cpu;