summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-07-04 09:57:26 +0000
committerOlivier Blin <oblin@mandriva.com>2007-07-04 09:57:26 +0000
commitbf72886a0e220e2a9d91729732f48fbd8708025f (patch)
tree882e913f97b4bf63a3ee3392da2851eda4da1961
parenta19294e6e82aa1f0bbe953a81a09107a34cae394 (diff)
downloaddrakx-backup-do-not-use-bf72886a0e220e2a9d91729732f48fbd8708025f.tar
drakx-backup-do-not-use-bf72886a0e220e2a9d91729732f48fbd8708025f.tar.gz
drakx-backup-do-not-use-bf72886a0e220e2a9d91729732f48fbd8708025f.tar.bz2
drakx-backup-do-not-use-bf72886a0e220e2a9d91729732f48fbd8708025f.tar.xz
drakx-backup-do-not-use-bf72886a0e220e2a9d91729732f48fbd8708025f.zip
really log when switching from fglrx to another driver (backport from trunk)
-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 e421f593e..998c15145 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -89,7 +89,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";