summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-26 17:33:41 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-26 17:33:41 +0000
commit4c5d1301246c24705f3a78404add86efe2d02b25 (patch)
tree60d605a954fbc9783cbe2079f72cd03af2e70c84
parent9dbbb14f150c2b41bab19bea23468352219ce793 (diff)
downloaddrakx-4c5d1301246c24705f3a78404add86efe2d02b25.tar
drakx-4c5d1301246c24705f3a78404add86efe2d02b25.tar.gz
drakx-4c5d1301246c24705f3a78404add86efe2d02b25.tar.bz2
drakx-4c5d1301246c24705f3a78404add86efe2d02b25.tar.xz
drakx-4c5d1301246c24705f3a78404add86efe2d02b25.zip
*** empty log message ***
-rw-r--r--perl-install/pkgs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 036141472..3695c6233 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -202,6 +202,7 @@ my $D = (-sqrt(sqr($B - 1) - 4 * $A * $C) - ($B - 1)) / 2 / $A; #- $A is negativ
sub correctSize {
my $csz = ($A * $_[0] + $B) * $_[0] + $C;
$csz > $_[0] ? $csz : $_[0]; #- size correction (in MB) should be above input argument (as $A is negative).
+}
sub invCorrectSize {
my $sz = $_[0] < $D ? (sqrt(sqr($B) + 4 * $A * ($_[0] - $C)) - $B) / 2 / $A : $_[0];
$sz < $_[0] ? $sz : $_[0];