summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-09-16 16:29:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-09-16 16:29:42 +0000
commitcfd30f11c05ce5b9413018a33d14bef204c3af10 (patch)
tree3a2428b0018940f0702c5309c9c80eca11c195b0
parent8994c6a44cb6d2556bb314139497c900873be0e3 (diff)
downloaddrakx-cfd30f11c05ce5b9413018a33d14bef204c3af10.tar
drakx-cfd30f11c05ce5b9413018a33d14bef204c3af10.tar.gz
drakx-cfd30f11c05ce5b9413018a33d14bef204c3af10.tar.bz2
drakx-cfd30f11c05ce5b9413018a33d14bef204c3af10.tar.xz
drakx-cfd30f11c05ce5b9413018a33d14bef204c3af10.zip
pixelization
-rw-r--r--perl-install/install_steps.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 103059cd7..7ac795c2c 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -255,8 +255,7 @@ sub choosePartitionsToFormat($$) {
$_->{mntpoint} or next;
add2hash_($_, { toFormat => $_->{notFormatted} });
- $_->{toFormatUnsure} = member($_->{mntpoint}, '/', '/usr');
- $_->{toFormat} ||= $::recovery && delete $_->{toFormatUnsure};
+ $_->{$::recovery ? 'toFormat' : 'toFormatUnsure'} ||= member($_->{mntpoint}, '/', '/usr');
if (!$_->{toFormat}) {
my $t = fsedit::typeOfPart($_->{device});