summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-05-07 17:07:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-05-07 17:07:30 +0000
commit73053fb0bb6255c13deecd198499cfc4479134bc (patch)
treef5e5e1ae0259613e69c9041f6745ec2f967eff1f /perl-install/pkgs.pm
parent6e0714d453adf6cb59f3a8083d3561d5f274be16 (diff)
downloaddrakx-73053fb0bb6255c13deecd198499cfc4479134bc.tar
drakx-73053fb0bb6255c13deecd198499cfc4479134bc.tar.gz
drakx-73053fb0bb6255c13deecd198499cfc4479134bc.tar.bz2
drakx-73053fb0bb6255c13deecd198499cfc4479134bc.tar.xz
drakx-73053fb0bb6255c13deecd198499cfc4479134bc.zip
no_comment
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 13ba2002b..2560bcaf2 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;
+my $C = 33.2 + 18; #- 18 added cuz of hdlist's
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.