summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-11-10 11:13:41 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-11-10 11:13:41 +0000
commit71161c2313ed71f9c7d5dfbbe77f447702be7e37 (patch)
tree177c894c5e557534f5879b706b925b9d082bc1f4 /perl-install
parentc8d3d628f583cfff6ae70571bf8e184e70bf8578 (diff)
downloaddrakx-backup-do-not-use-71161c2313ed71f9c7d5dfbbe77f447702be7e37.tar
drakx-backup-do-not-use-71161c2313ed71f9c7d5dfbbe77f447702be7e37.tar.gz
drakx-backup-do-not-use-71161c2313ed71f9c7d5dfbbe77f447702be7e37.tar.bz2
drakx-backup-do-not-use-71161c2313ed71f9c7d5dfbbe77f447702be7e37.tar.xz
drakx-backup-do-not-use-71161c2313ed71f9c7d5dfbbe77f447702be7e37.zip
(isLaptop) fix it on non PPC arches
Diffstat (limited to 'perl-install')
-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 92823e723..2f303200d 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -817,7 +817,7 @@ sub computer_info() {
sub isLaptop() {
arch() =~ /ppc/ ?
get_mac_model() =~ /Book/ :
- dmidecode()->{isLaptop}
+ { dmidecode() }->{isLaptop}
|| (matching_desc__regexp('C&T.*655[45]\d') || matching_desc__regexp('C&T.*68554') ||
matching_desc__regexp('Neomagic.*Magic(Media|Graph)') ||
matching_desc__regexp('ViRGE.MX') || matching_desc__regexp('S3.*Savage.*[IM]X') ||