diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-05-09 12:07:40 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-05-09 12:07:40 +0000 |
commit | 164e94e201e9d49ab9464fc737dfcfbc43f6e596 (patch) | |
tree | 5deff235fd452802818f0a3f7b5a9a057b63f23a /perl-install/pkgs.pm | |
parent | e29430e040fb03c614900bbb39ec428c610a8726 (diff) | |
download | drakx-164e94e201e9d49ab9464fc737dfcfbc43f6e596.tar drakx-164e94e201e9d49ab9464fc737dfcfbc43f6e596.tar.gz drakx-164e94e201e9d49ab9464fc737dfcfbc43f6e596.tar.bz2 drakx-164e94e201e9d49ab9464fc737dfcfbc43f6e596.tar.xz drakx-164e94e201e9d49ab9464fc737dfcfbc43f6e596.zip |
no_comment
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r-- | perl-install/pkgs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 2560bcaf2..f591e9bbb 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -171,7 +171,7 @@ sub extractHeaders($$$) { #- size and correction size functions for packages. my $A = -1.922e-05; my $B = 1.18411; -my $C = 33.2 + 18; #- 18 added cuz of hdlist's +my $C = 23.2; #- doesn't take hdlist's into account as getAvailableSpace will do it. sub correctSize { max($_[0], ($A * $_[0] + $B) * $_[0] + $C) } #- size correction in MB. sub invCorrectSize { min($_[0], (sqrt(sqr($B) + 4 * $A * ($_[0] - $C)) - $B) / 2 / $A) } #- size correction in MB. |