diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-03 18:31:53 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-03 18:31:53 +0000 |
commit | 18d2d42b1f8fe6ed9b37ffff524d5bd186d44596 (patch) | |
tree | a9890965c53289793d2e2d62f731b89d7c3af05f | |
parent | 5885cab2952f2abe7bd5b84151009c627d8568ed (diff) | |
download | drakx-backup-do-not-use-18d2d42b1f8fe6ed9b37ffff524d5bd186d44596.tar drakx-backup-do-not-use-18d2d42b1f8fe6ed9b37ffff524d5bd186d44596.tar.gz drakx-backup-do-not-use-18d2d42b1f8fe6ed9b37ffff524d5bd186d44596.tar.bz2 drakx-backup-do-not-use-18d2d42b1f8fe6ed9b37ffff524d5bd186d44596.tar.xz drakx-backup-do-not-use-18d2d42b1f8fe6ed9b37ffff524d5bd186d44596.zip |
(choosePartitionsToFormat): toFormatUnsure=1 for /usr
-rw-r--r-- | perl-install/install_steps.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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}); } |