diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-10-08 11:42:45 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-10-08 11:42:45 +0000 |
commit | 0f48e147d39575f98db29f7e21d5347e6e309d04 (patch) | |
tree | fba03e3d6c57d3b202f973fc11907372dd26f64e /perl-install/install_steps.pm | |
parent | c5a4cbe6c55d38bcc411bd94f088f36b85681899 (diff) | |
download | drakx-backup-do-not-use-0f48e147d39575f98db29f7e21d5347e6e309d04.tar drakx-backup-do-not-use-0f48e147d39575f98db29f7e21d5347e6e309d04.tar.gz drakx-backup-do-not-use-0f48e147d39575f98db29f7e21d5347e6e309d04.tar.bz2 drakx-backup-do-not-use-0f48e147d39575f98db29f7e21d5347e6e309d04.tar.xz drakx-backup-do-not-use-0f48e147d39575f98db29f7e21d5347e6e309d04.zip |
no_comment
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 { |