summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-02-25 08:43:25 +0000
committerThierry Vignaud <tv@mandriva.org>2009-02-25 08:43:25 +0000
commit74745974bcac4c715977c51bcd3f57351ff126c4 (patch)
tree3b9709d6cb1ee19abcb8c9c9be552ee6c73fecaf /perl-install/standalone/service_harddrake
parentb0478cf1b0d6d6fccbd4ffba67764d8e735f77f6 (diff)
downloaddrakx-74745974bcac4c715977c51bcd3f57351ff126c4.tar
drakx-74745974bcac4c715977c51bcd3f57351ff126c4.tar.gz
drakx-74745974bcac4c715977c51bcd3f57351ff126c4.tar.bz2
drakx-74745974bcac4c715977c51bcd3f57351ff126c4.tar.xz
drakx-74745974bcac4c715977c51bcd3f57351ff126c4.zip
prevent wrongly notifying we switched from proprietary to free driver
(anssi, #41969) (regression introduced in r248278 on 16 October 2008)
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index ce7a98fbb..e5af418f4 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -88,7 +88,7 @@ foreach my $card (@cards) {
require Xconfig::card;
my @cards = Xconfig::card::probe();
my $driver = $cards[0]{Driver};
- my $new_driver = $1 if cat_('/etc/X11/xorg.conf') =~ /Driver "($card->{xorg_driver_regexp})/;
+ my $new_driver = $1 if cat_('/etc/X11/xorg.conf') =~ /Driver "($card->{xorg_driver_regexp})"/;
if ($new_driver) {
cp_af('/etc/X11/xorg.conf', "/etc/X11/xorg.conf.mdv$^T");
substInFile { s!Driver "($card->{xorg_driver_regexp})"!Driver "$driver"!g } '/etc/X11/xorg.conf';