summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-09 09:05:29 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-09 09:05:29 +0000
commit700c4d5ec594cfc0b4da5272621b9aa64e7761f4 (patch)
tree05b0eab737148edb76f201750f0c1321893f298b /perl-install
parent69ddacccfdf91076dcdc6f75186b4f0ea036666c (diff)
downloaddrakx-700c4d5ec594cfc0b4da5272621b9aa64e7761f4.tar
drakx-700c4d5ec594cfc0b4da5272621b9aa64e7761f4.tar.gz
drakx-700c4d5ec594cfc0b4da5272621b9aa64e7761f4.tar.bz2
drakx-700c4d5ec594cfc0b4da5272621b9aa64e7761f4.tar.xz
drakx-700c4d5ec594cfc0b4da5272621b9aa64e7761f4.zip
fix regexp given to matching_driver (otherwise smartcard:xxx matches)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Xconfig/card.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm
index 304cdc4f7..815087477 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -77,7 +77,7 @@ sub default_ATI_fglrx_config() { our $default_ATI_fglrx_config }
sub probe() {
#-for Pixel tests
#- my @c = { driver => 'Card:Matrox Millennium G400 DualHead', description => 'Matrox|Millennium G400 Dual HeadCard' };
- my @c = detect_devices::matching_driver__regexp('(Card|Server|Driver):');
+ my @c = detect_devices::matching_driver__regexp('^(Card|Server|Driver):');
my @cards = map {
my @l = $_->{description} =~ /(.*?)\|(.*)/;