summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-06-11 16:58:19 +0000
committerFrancois Pons <fpons@mandriva.com>2001-06-11 16:58:19 +0000
commitd27897e47c84fdfe1d2167664dddb95ce8f478c6 (patch)
tree0693b7bfd97907a591cd949869b7ba2eea04288d
parent595bf584615a30051c137fa026b490bb312f6e21 (diff)
downloaddrakx-backup-do-not-use-d27897e47c84fdfe1d2167664dddb95ce8f478c6.tar
drakx-backup-do-not-use-d27897e47c84fdfe1d2167664dddb95ce8f478c6.tar.gz
drakx-backup-do-not-use-d27897e47c84fdfe1d2167664dddb95ce8f478c6.tar.bz2
drakx-backup-do-not-use-d27897e47c84fdfe1d2167664dddb95ce8f478c6.tar.xz
drakx-backup-do-not-use-d27897e47c84fdfe1d2167664dddb95ce8f478c6.zip
fix missing newline on /etc/X11/glx.conf when modifying mga_dma = 0
-rw-r--r--perl-install/Xconfigurator.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index 226aca3ba..23002ab18 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -398,7 +398,7 @@ NOTE THIS IS EXPERIMENTAL SUPPORT AND MAY FREEZE YOUR COMPUTER.", $xf3_ver)) . "
if ($card->{identifier} =~ /Matrox.* G[24][05]0/ && $card->{identifier} !~ /AGP/) {
log::l("disabling AGP mode for Matrox card, as it seems to be a PCI card");
log::l("this is only used for XFree 3.3.6, see /etc/X11/glx.conf");
- substInFile { s/^\s*#?\s*mga_dma\s*=\s*\d+\s*/mga_dma = 0/ } "$prefix/etc/X11/glx.conf";
+ substInFile { s/^\s*#*\s*mga_dma\s*=\s*\d+\s*$/mga_dma = 0\n/ } "$prefix/etc/X11/glx.conf";
}
#- make sure everything is correct at this point, packages have really been installed
#- and driver and GLX extension is present.