summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/card.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-16 14:10:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-16 14:10:06 +0000
commitf1783a659651a792ba4471009d0c8d3434eebae9 (patch)
tree2b75e25f306ddbaf2d2dad5497cc6affa5a8385a /perl-install/Xconfig/card.pm
parent12540853e8b4439f46b10d7a9ed65faddfb3ab62 (diff)
downloaddrakx-f1783a659651a792ba4471009d0c8d3434eebae9.tar
drakx-f1783a659651a792ba4471009d0c8d3434eebae9.tar.gz
drakx-f1783a659651a792ba4471009d0c8d3434eebae9.tar.bz2
drakx-f1783a659651a792ba4471009d0c8d3434eebae9.tar.xz
drakx-f1783a659651a792ba4471009d0c8d3434eebae9.zip
comment/dis-comment the content of ld.so.conf.d/{nvidia,ati}.conf instead of symlinking to a hidden file
(implies the new ati/nvidia packages have config(noreplace) for those files)
Diffstat (limited to 'perl-install/Xconfig/card.pm')
-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 2151406d3..4edb0d69a 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -470,7 +470,7 @@ sub libgl_config {
my $wanted = $driver_to_libgl_config{$Driver};
foreach my $file (values %driver_to_libgl_config) {
substInFile {
- my ($commented, $s) = /^($comment)?(.*)/;
+ my ($commented, $s) = /^(\Q$comment\E)?(.*)/;
if ($file eq $wanted) {
$_ = "$s\n";
$need_to_run_ldconfig ||= $commented;