summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-10-16 07:57:18 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-10-16 11:18:52 +0200
commit4d6e37a9a982f3068ff587f05a6a4fa5073c13a1 (patch)
treea48ebbb9400716c3aef3eb2c0988b1b3e7887785 /perl-install/bootloader.pm
parent84b4c77879dd6a36b90e9cc9f704b7022bd669ef (diff)
downloaddrakx-4d6e37a9a982f3068ff587f05a6a4fa5073c13a1.tar
drakx-4d6e37a9a982f3068ff587f05a6a4fa5073c13a1.tar.gz
drakx-4d6e37a9a982f3068ff587f05a6a4fa5073c13a1.tar.bz2
drakx-4d6e37a9a982f3068ff587f05a6a4fa5073c13a1.tar.xz
drakx-4d6e37a9a982f3068ff587f05a6a4fa5073c13a1.zip
simplify
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 2451df253..a7e740546 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1213,7 +1213,7 @@ sub suggest {
#- search for dos (or windows) boot partition. Do not look in extended partitions!
my @windows_boot_parts =
grep { $_->{active}
- && isFat_or_NTFS($_) && member(fs::type::fs_type_from_magic($_), 'vfat', 'ntfs', 'ntfs-3g')
+ && isFat_or_NTFS($_) && member(fs::type::fs_type_from_magic($_), qw(vfat ntfs ntfs-3g))
&& !$_->{is_removable}
&& !isRecovery($_);
}