From d9a00cca4f2284754cf1bbc8d3fb943bd83fc956 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 28 Jul 2002 21:47:47 +0000 Subject: (availableRamMB): use a precise constraint on 'Card:Intel 810' instead of a regexp --- perl-install/common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.1