diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-03-23 17:57:12 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-03-23 20:20:48 +0100 |
commit | 85cc2619e4537e5a2b707136a6b2865eadffa552 (patch) | |
tree | 69323ca3cebe5281711247f2536775d8c9f637d6 /perl-install/detect_devices.pm | |
parent | 6ca54770c96bd744892891e7476ea01b64f61796 (diff) | |
download | drakx-85cc2619e4537e5a2b707136a6b2865eadffa552.tar drakx-85cc2619e4537e5a2b707136a6b2865eadffa552.tar.gz drakx-85cc2619e4537e5a2b707136a6b2865eadffa552.tar.bz2 drakx-85cc2619e4537e5a2b707136a6b2865eadffa552.tar.xz drakx-85cc2619e4537e5a2b707136a6b2865eadffa552.zip |
sort
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index d93333016..e0bd907f3 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -1552,14 +1552,14 @@ Returns a hash of flags (laptop, hyperv, touchpad, 64bit, wireless, ...) sub matching_types() { +{ - mips_lemote => is_mips_lemote(), + '64bit' => to_bool(arch() =~ /64/), + hyperv => isHyperv(), + laptop => isLaptop(), mips_ict => is_mips_ict(), + mips_lemote => is_mips_lemote(), mips_st_ls2f => is_mips_st_ls2f(), - laptop => isLaptop(), - hyperv => isHyperv(), - 'numpad' => hasNumpad(), - 'touchpad' => hasTouchpad(), - '64bit' => to_bool(arch() =~ /64/), + numpa => hasNumpad(), + touchpad => hasTouchpad(), wireless => to_bool(get_wireless_interface() || probe_category('network/wireless')), }; } |