From 71161c2313ed71f9c7d5dfbbe77f447702be7e37 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 10 Nov 2004 11:13:41 +0000 Subject: (isLaptop) fix it on non PPC arches --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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') || -- cgit v1.2.1