summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-11 13:23:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-11 13:23:45 +0000
commit9dba0e05623a219d105b8074e59a1e917d0d4861 (patch)
treeb424d546f998977d12dbeaca6f921a919c347675 /perl-install/install2.pm
parent6780926e3315c989d61044e4c71e3fee4ad73a2f (diff)
downloaddrakx-9dba0e05623a219d105b8074e59a1e917d0d4861.tar
drakx-9dba0e05623a219d105b8074e59a1e917d0d4861.tar.gz
drakx-9dba0e05623a219d105b8074e59a1e917d0d4861.tar.bz2
drakx-9dba0e05623a219d105b8074e59a1e917d0d4861.tar.xz
drakx-9dba0e05623a219d105b8074e59a1e917d0d4861.zip
replace availableMemory with availableMemory()
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index af3a40040..f9bebe686 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -494,7 +494,7 @@ sub main {
}
$o->{interactive} ||= 'gtk' if !$::auto_install;
- if ($o->{interactive} eq "gtk" && availableMemory < 22 * 1024) {
+ if ($o->{interactive} eq "gtk" && availableMemory() < 22 * 1024) {
log::l("switching to newt install cuz not enough memory");
$o->{interactive} = "newt";
}