summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-11-30 10:49:41 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-11-30 10:49:41 +0000
commit601870c80fa2c1ab2ccfdd5ae9e456b64df8fb6b (patch)
tree83e0d7e1641a56ec92d55eb9921bab42770ed64e /perl-install/detect_devices.pm
parent47873ca5ad01b34204cf1b583f53dd664f836479 (diff)
downloaddrakx-backup-do-not-use-601870c80fa2c1ab2ccfdd5ae9e456b64df8fb6b.tar
drakx-backup-do-not-use-601870c80fa2c1ab2ccfdd5ae9e456b64df8fb6b.tar.gz
drakx-backup-do-not-use-601870c80fa2c1ab2ccfdd5ae9e456b64df8fb6b.tar.bz2
drakx-backup-do-not-use-601870c80fa2c1ab2ccfdd5ae9e456b64df8fb6b.tar.xz
drakx-backup-do-not-use-601870c80fa2c1ab2ccfdd5ae9e456b64df8fb6b.zip
(isLaptop) fix it on non PPC architectures
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 483d7d44c..c8189d3d2 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -809,7 +809,7 @@ sub computer_info() {
sub isLaptop() {
arch() =~ /ppc/ ?
get_mac_model() =~ /Book/ :
- { dmidecode() }->{isLaptop}
+ { computer_info() }->{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') ||