diff options
author | Francois Pons <fpons@mandriva.com> | 2001-06-11 16:58:19 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-06-11 16:58:19 +0000 |
commit | d27897e47c84fdfe1d2167664dddb95ce8f478c6 (patch) | |
tree | 0693b7bfd97907a591cd949869b7ba2eea04288d | |
parent | 595bf584615a30051c137fa026b490bb312f6e21 (diff) | |
download | drakx-d27897e47c84fdfe1d2167664dddb95ce8f478c6.tar drakx-d27897e47c84fdfe1d2167664dddb95ce8f478c6.tar.gz drakx-d27897e47c84fdfe1d2167664dddb95ce8f478c6.tar.bz2 drakx-d27897e47c84fdfe1d2167664dddb95ce8f478c6.tar.xz drakx-d27897e47c84fdfe1d2167664dddb95ce8f478c6.zip |
fix missing newline on /etc/X11/glx.conf when modifying mga_dma = 0
-rw-r--r-- | perl-install/Xconfigurator.pm | 2 |
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. |