summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-10-08 11:42:45 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-10-08 11:42:45 +0000
commit0f48e147d39575f98db29f7e21d5347e6e309d04 (patch)
treefba03e3d6c57d3b202f973fc11907372dd26f64e /perl-install/install_steps.pm
parentc5a4cbe6c55d38bcc411bd94f088f36b85681899 (diff)
downloaddrakx-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.pm6
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 {