From 700c4d5ec594cfc0b4da5272621b9aa64e7761f4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 9 Nov 2004 09:05:29 +0000 Subject: fix regexp given to matching_driver (otherwise smartcard:xxx matches) --- perl-install/Xconfig/card.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/Xconfig') 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} =~ /(.*?)\|(.*)/; -- cgit v1.2.1