From d20e6aac3b8e38db725402a8c1a4423a9a541f6a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 5 Nov 2007 13:35:15 +0000 Subject: (part_raw) simplify --- perl-install/fs/format.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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'; -- cgit v1.2.1