summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-03 18:31:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-03 18:31:53 +0000
commit18d2d42b1f8fe6ed9b37ffff524d5bd186d44596 (patch)
treea9890965c53289793d2e2d62f731b89d7c3af05f /perl-install
parent5885cab2952f2abe7bd5b84151009c627d8568ed (diff)
downloaddrakx-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
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm2
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});
}