summaryrefslogtreecommitdiffstats
path: root/perl-install
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
parent5b94160877842d8460b3de483d53b92266076095 (diff)
downloaddrakx-backup-do-not-use-0074ec3e2f3ba214c550ed85d38a346f2ee2449e.tar
drakx-backup-do-not-use-0074ec3e2f3ba214c550ed85d38a346f2ee2449e.tar.gz
drakx-backup-do-not-use-0074ec3e2f3ba214c550ed85d38a346f2ee2449e.tar.bz2
drakx-backup-do-not-use-0074ec3e2f3ba214c550ed85d38a346f2ee2449e.tar.xz
drakx-backup-do-not-use-0074ec3e2f3ba214c550ed85d38a346f2ee2449e.zip
please perl_checker
Diffstat (limited to 'perl-install')
-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});