diff options
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 37667a202..d736aeee2 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -115,8 +115,10 @@ sub choosePartitionsToFormat($$) { my ($o, $fstab) = @_; $_->{mntpoint} = "swap" foreach grep { isSwap($_) } @$fstab; - $_->{toFormat} = $_->{mntpoint} && - ($_->{notFormatted} || $o->{partitioning}{autoformat}) foreach @$fstab; + $_->{toFormat} = $_->{mntpoint} && + (fsedit::typeOfPart($_->{device}) != $_->{type} || + $_->{notFormatted} || + $o->{partitioning}{autoformat}) foreach @$fstab; } sub formatPartitions { |