summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-27 08:09:57 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-27 08:09:57 +0000
commit6c9e831de8a374dbbd7a0fdfbf137b8f3fc064ab (patch)
tree23df90df1d2b45befe8d62f5f452399d2a79f394 /perl-install/common.pm
parent2e7bec9cf05c2ad1d747260087aab55f00656915 (diff)
downloaddrakx-6c9e831de8a374dbbd7a0fdfbf137b8f3fc064ab.tar
drakx-6c9e831de8a374dbbd7a0fdfbf137b8f3fc064ab.tar.gz
drakx-6c9e831de8a374dbbd7a0fdfbf137b8f3fc064ab.tar.bz2
drakx-6c9e831de8a374dbbd7a0fdfbf137b8f3fc064ab.tar.xz
drakx-6c9e831de8a374dbbd7a0fdfbf137b8f3fc064ab.zip
add __regexp suffix to matching_desc() and matching_driver()
Diffstat (limited to 'perl-install/common.pm')
-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 89d2ca4ac..015d266bf 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -86,7 +86,7 @@ sub availableRamMB() {
my $s = MDK::Common::System::availableRamMB();
#- HACK HACK: if i810 and memsize
require detect_devices;
- return $s - 1 if $s == 128 && detect_devices::matching_driver('^Card:Intel 810$');
+ return $s - 1 if $s == 128 && detect_devices::matching_driver__regexp('^Card:Intel 810$');
$s;
}