summaryrefslogtreecommitdiffstats
path: root/perl-install/install/media.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-20 01:17:08 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-20 01:17:08 +0000
commit440ffe22ded3de7604e00d6c98e24e1069ebf378 (patch)
tree169acc31381d5d8f8fbb216a42aa3148d0d52d59 /perl-install/install/media.pm
parent4f441032f26c8334c49969ac7eaa37752c1250ee (diff)
downloaddrakx-440ffe22ded3de7604e00d6c98e24e1069ebf378.tar
drakx-440ffe22ded3de7604e00d6c98e24e1069ebf378.tar.gz
drakx-440ffe22ded3de7604e00d6c98e24e1069ebf378.tar.bz2
drakx-440ffe22ded3de7604e00d6c98e24e1069ebf378.tar.xz
drakx-440ffe22ded3de7604e00d6c98e24e1069ebf378.zip
move functions to get available space from installer to drakxtools (to be used in draklive-install)
Diffstat (limited to 'perl-install/install/media.pm')
-rw-r--r--perl-install/install/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index cc3f79ee3..09837c3b1 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -462,7 +462,7 @@ sub allow_copy_rpms_on_disk {
my $totalsize = sum(map { $_->{size} } @$hdlists) || -1; #- don't check size, total medium size unknown
if ($totalsize >= 0) {
- my $availvar = install::any::getAvailableSpace_mounted("$::prefix/var");
+ my $availvar = fs::any::getAvailableSpace_mounted("$::prefix/var");
$availvar /= 1024 * 1024; #- Mo
log::l("totalsize=$totalsize, avail on $::prefix/var=$availvar");
$totalsize < $availvar * 0.6;