summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-11-05 13:35:15 +0000
committerThierry Vignaud <tv@mandriva.org>2007-11-05 13:35:15 +0000
commitd20e6aac3b8e38db725402a8c1a4423a9a541f6a (patch)
tree99e5e4a0b0abb30ba4bf71b44c4fa8a0a2a181c7
parentb39db48fc310f862cbc5a591fa83253a8e72738c (diff)
downloaddrakx-d20e6aac3b8e38db725402a8c1a4423a9a541f6a.tar
drakx-d20e6aac3b8e38db725402a8c1a4423a9a541f6a.tar.gz
drakx-d20e6aac3b8e38db725402a8c1a4423a9a541f6a.tar.bz2
drakx-d20e6aac3b8e38db725402a8c1a4423a9a541f6a.tar.xz
drakx-d20e6aac3b8e38db725402a8c1a4423a9a541f6a.zip
(part_raw) simplify
-rw-r--r--perl-install/fs/format.pm2
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';