From 18d2d42b1f8fe6ed9b37ffff524d5bd186d44596 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 3 Aug 2001 18:31:53 +0000 Subject: (choosePartitionsToFormat): toFormatUnsure=1 for /usr --- perl-install/install_steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index e4e198146..0000dc4e6 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -236,7 +236,7 @@ sub choosePartitionsToFormat($$) { my $t = isLoopback($_) ? eval { fsedit::typeOfPart($o->{prefix} . loopback::file($_)) } : fsedit::typeOfPart($_->{device}); - $_->{toFormatUnsure} = $_->{mntpoint} eq "/" || + $_->{toFormatUnsure} = member($_->{mntpoint}, '/', '/usr') || #- if detected dos/win, it's not precise enough to just compare the types (too many of them) (!$t || isOtherAvailableFS({ type => $t }) ? !isOtherAvailableFS($_) : $t != $_->{type}); } -- cgit v1.2.1