diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-11-29 16:56:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-11-29 16:56:51 +0000 |
commit | b8d65538089da9c7b2022448569fcd918d5a5799 (patch) | |
tree | 9c4f88eb2e31049488822c47d18cd29c2e4761e0 /perl-install/detect_devices.pm | |
parent | 11975a292dc097e3ae4bcd06f0780a9dbb91f0d8 (diff) | |
download | drakx-b8d65538089da9c7b2022448569fcd918d5a5799.tar drakx-b8d65538089da9c7b2022448569fcd918d5a5799.tar.gz drakx-b8d65538089da9c7b2022448569fcd918d5a5799.tar.bz2 drakx-b8d65538089da9c7b2022448569fcd918d5a5799.tar.xz drakx-b8d65538089da9c7b2022448569fcd918d5a5799.zip |
(isLaptop) fix wrongly detecting some devices as laptop specific due
to too hungry regexp (#35759)
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index acfaab9c7..8f2de29de 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -1045,7 +1045,7 @@ sub isLaptop() { matching_desc__regexp('Neomagic.*Magic(Media|Graph)') || matching_desc__regexp('ViRGE.MX') || matching_desc__regexp('S3.*Savage.*[IM]X') || matching_desc__regexp('Intel Corporation\|Mobile') || - matching_desc__regexp('ATI.*(Mobility|LT)')) + matching_desc__regexp('\bATI\b.*(Mobility|\bLT\b)')) || cat_('/proc/cpuinfo') =~ /\bmobile\b/i || probe_unique_name("Type") eq 'laptop' #- ipw2100/2200/3945 are Mini-PCI (Express) adapters |