diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-28 21:47:47 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-28 21:47:47 +0000 |
commit | d9a00cca4f2284754cf1bbc8d3fb943bd83fc956 (patch) | |
tree | 59d3fd271cb803f4a2045795397866830002cc01 /perl-install | |
parent | fe868f817b6be1dd8c0e8774b8a575dbcfbdc522 (diff) | |
download | drakx-backup-do-not-use-d9a00cca4f2284754cf1bbc8d3fb943bd83fc956.tar drakx-backup-do-not-use-d9a00cca4f2284754cf1bbc8d3fb943bd83fc956.tar.gz drakx-backup-do-not-use-d9a00cca4f2284754cf1bbc8d3fb943bd83fc956.tar.bz2 drakx-backup-do-not-use-d9a00cca4f2284754cf1bbc8d3fb943bd83fc956.tar.xz drakx-backup-do-not-use-d9a00cca4f2284754cf1bbc8d3fb943bd83fc956.zip |
(availableRamMB): use a precise constraint on 'Card:Intel 810' instead of a regexp
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/common.pm | 2 |
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; } |