summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-02 16:56:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-02 16:56:06 +0000
commitb8270d9fd0568195dd3ce2f202182593c91c7142 (patch)
tree2424c57403e7b4aaba6c78aeb082d2f18cd1119b /perl-install
parent07135989819d4d117fdcc454c19aa01a55585535 (diff)
downloaddrakx-b8270d9fd0568195dd3ce2f202182593c91c7142.tar
drakx-b8270d9fd0568195dd3ce2f202182593c91c7142.tar.gz
drakx-b8270d9fd0568195dd3ce2f202182593c91c7142.tar.bz2
drakx-b8270d9fd0568195dd3ce2f202182593c91c7142.tar.xz
drakx-b8270d9fd0568195dd3ce2f202182593c91c7142.zip
helping titi that didn't get isLaptop() right in 3 commits ;p
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 049f32f32..50018f99b 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/ :
- { computer_info() }->{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') ||