diff options
author | Pascal Terjan <pterjan@gmail.com> | 2023-05-06 19:43:48 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2023-05-06 19:56:10 +0000 |
commit | 964a960e84093c4441c0f5ebbaf75b950a0b338b (patch) | |
tree | 0b4e07a9ef6de1a63823cc4b7916ed0315d9757d /perl-install/fs | |
parent | 3da689551a8b35285bc46611ce134c75318d3361 (diff) | |
download | drakx-964a960e84093c4441c0f5ebbaf75b950a0b338b.tar drakx-964a960e84093c4441c0f5ebbaf75b950a0b338b.tar.gz drakx-964a960e84093c4441c0f5ebbaf75b950a0b338b.tar.bz2 drakx-964a960e84093c4441c0f5ebbaf75b950a0b338b.tar.xz drakx-964a960e84093c4441c0f5ebbaf75b950a0b338b.zip |
Fix isFat_or_NTFS
It was only matching ntfs-3g
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/type.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm index fd62dcb6c..98497e1da 100644 --- a/perl-install/fs/type.pm +++ b/perl-install/fs/type.pm @@ -314,7 +314,7 @@ sub isRawRAID { $_[0]{pt_type} == 0xfd || $_[0]{type_name} eq 'Linux RAID' } sub isRawLUKS { $_[0]{type_name} eq 'Encrypted' } sub isSwap { $_[0]{fs_type} eq 'swap' } sub isDos { ${{ 1 => 1, 4 => 1, 6 => 1 }}{$_[0]{pt_type}} } -sub isFat_or_NTFS { member($_[0]{fs_type}, qw(vfat, ntfs, ntfs-3g)) } +sub isFat_or_NTFS { member($_[0]{fs_type}, qw(vfat ntfs ntfs-3g)) } sub isnormal_Fat_or_NTFS { grep { isFat_or_NTFS($_) && !isESP($_) && !isRecovery($_) } @_ } sub isApple { $_[0]{pt_type} == 0x401 && defined $_[0]{isDriver} } sub isAppleBootstrap { $_[0]{pt_type} == 0x401 && defined $_[0]{isBoot} } |