summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-28 21:47:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-28 21:47:47 +0000
commitd9a00cca4f2284754cf1bbc8d3fb943bd83fc956 (patch)
tree59d3fd271cb803f4a2045795397866830002cc01
parentfe868f817b6be1dd8c0e8774b8a575dbcfbdc522 (diff)
downloaddrakx-d9a00cca4f2284754cf1bbc8d3fb943bd83fc956.tar
drakx-d9a00cca4f2284754cf1bbc8d3fb943bd83fc956.tar.gz
drakx-d9a00cca4f2284754cf1bbc8d3fb943bd83fc956.tar.bz2
drakx-d9a00cca4f2284754cf1bbc8d3fb943bd83fc956.tar.xz
drakx-d9a00cca4f2284754cf1bbc8d3fb943bd83fc956.zip
(availableRamMB): use a precise constraint on 'Card:Intel 810' instead of a regexp
-rw-r--r--perl-install/common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 34027a565..d4ab95d25 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -60,7 +60,7 @@ sub availableRamMB() {
my $s = MDK::Common::System::availableRamMB();
#- HACK HACK: if i810 and memsize
require detect_devices;
- return $s - 1 if $s == 128 && grep { $_->{driver} =~ /i810/ } detect_devices::probeall();
+ return $s - 1 if $s == 128 && grep { $_->{driver} eq 'Card:Intel 810' } detect_devices::probeall();
$s;
}