summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/partitioning_wizard.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-28 20:23:41 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-28 20:23:41 +0000
commit0074ec3e2f3ba214c550ed85d38a346f2ee2449e (patch)
treec488dc38c9e402ccb1b7e5833efd044683c8f095 /perl-install/fs/partitioning_wizard.pm
parent5b94160877842d8460b3de483d53b92266076095 (diff)
downloaddrakx-0074ec3e2f3ba214c550ed85d38a346f2ee2449e.tar
drakx-0074ec3e2f3ba214c550ed85d38a346f2ee2449e.tar.gz
drakx-0074ec3e2f3ba214c550ed85d38a346f2ee2449e.tar.bz2
drakx-0074ec3e2f3ba214c550ed85d38a346f2ee2449e.tar.xz
drakx-0074ec3e2f3ba214c550ed85d38a346f2ee2449e.zip
please perl_checker
Diffstat (limited to 'perl-install/fs/partitioning_wizard.pm')
-rw-r--r--perl-install/fs/partitioning_wizard.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index e9c35c570..09bbbfcb3 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -147,10 +147,10 @@ sub partitionWizardSolutions {
#- try to keep at least 1GB free for Windows
#- try to use from 6GB to 10% free space for Linux
my $suggested_size = max(
- $part->{min_win} + 1*MB(1024),
+ $part->{min_win} + 1 * MB(1024),
min(
$part->{size} - int(0.1 * ($part->{size} - $part->{min_win})),
- $part->{size} - 6*MB(1024),
+ $part->{size} - 6 * MB(1024),
),
);
$part->{req_size} = max(min($suggested_size, $part->{size} - $part->{min_linux}), $part->{min_win});