diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-11-05 13:35:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-11-05 13:35:15 +0000 |
commit | d20e6aac3b8e38db725402a8c1a4423a9a541f6a (patch) | |
tree | 99e5e4a0b0abb30ba4bf71b44c4fa8a0a2a181c7 /perl-install/fs | |
parent | b39db48fc310f862cbc5a591fa83253a8e72738c (diff) | |
download | drakx-d20e6aac3b8e38db725402a8c1a4423a9a541f6a.tar drakx-d20e6aac3b8e38db725402a8c1a4423a9a541f6a.tar.gz drakx-d20e6aac3b8e38db725402a8c1a4423a9a541f6a.tar.bz2 drakx-d20e6aac3b8e38db725402a8c1a4423a9a541f6a.tar.xz drakx-d20e6aac3b8e38db725402a8c1a4423a9a541f6a.zip |
(part_raw) simplify
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/format.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm index 91b470964..4e711a217 100644 --- a/perl-install/fs/format.pm +++ b/perl-install/fs/format.pm @@ -85,7 +85,7 @@ sub part_raw { my $fs_type = $part->{fs_type}; - if ($fs_type eq 'ext2' || $fs_type eq 'ext3') { + if (member($fs_type, qw(ext2 ext3))) { push @options, "-m", "0" if $part->{mntpoint} =~ m|^/home|; } elsif (isDos($part)) { $fs_type = 'dos'; |