summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-07-04 09:50:56 +0000
committerOlivier Blin <oblin@mandriva.com>2007-07-04 09:50:56 +0000
commitb06f7fbc49764b9b9935e7a65c84c3c49bb863f7 (patch)
tree5189e4517531295038e02f161ecb0225d22c94e4 /perl-install/standalone/service_harddrake
parentdab3cbafd23b0bb4555eec16cbd37b6b6d691870 (diff)
downloaddrakx-b06f7fbc49764b9b9935e7a65c84c3c49bb863f7.tar
drakx-b06f7fbc49764b9b9935e7a65c84c3c49bb863f7.tar.gz
drakx-b06f7fbc49764b9b9935e7a65c84c3c49bb863f7.tar.bz2
drakx-b06f7fbc49764b9b9935e7a65c84c3c49bb863f7.tar.xz
drakx-b06f7fbc49764b9b9935e7a65c84c3c49bb863f7.zip
really log when switching from fglrx to another driver
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 31aa5570b..cbeafa0fb 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -83,7 +83,7 @@ if (find { $_->{driver} =~ /ATI Radeon/ } detect_devices::probeall()) {
my @cards = Xconfig::card::probe();
my $driver = $cards[0]{Driver};
substInFile {
- log::explanations("switch X.org driver from fglrx to ati") if /Driver "nv.+"/;
+ log::explanations("switch X.org driver from fglrx to ati") if /Driver "fglrx"/;
s!Driver "fglrx"!Driver "$driver"!g;
} $_ foreach grep { -e $_ } "/etc/X11/XF86Config-4", "/etc/X11/XF86Config", "/etc/X11/xorg.conf";