summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-07-04 16:08:42 +0000
committerThierry Vignaud <tv@mandriva.org>2007-07-04 16:08:42 +0000
commit009e784a338799a5c98adee947312749bbcd08ad (patch)
tree6472a05a2347f7afda8c862aaf413e4829b0f43d /perl-install/standalone/service_harddrake
parent46be5706259ed4b620df587789d2e2a699809b9b (diff)
downloaddrakx-backup-do-not-use-009e784a338799a5c98adee947312749bbcd08ad.tar
drakx-backup-do-not-use-009e784a338799a5c98adee947312749bbcd08ad.tar.gz
drakx-backup-do-not-use-009e784a338799a5c98adee947312749bbcd08ad.tar.bz2
drakx-backup-do-not-use-009e784a338799a5c98adee947312749bbcd08ad.tar.xz
drakx-backup-do-not-use-009e784a338799a5c98adee947312749bbcd08ad.zip
do not bother configure old Xorg conf files anymore
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 781b87ee1..b33d893a4 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -65,7 +65,7 @@ if (find { $_->{driver} =~ /Card:NVIDIA/ } detect_devices::probeall()) {
log::explanations("switch X.org driver from nvidia to nv");
s!Driver "nv.*"!Driver "nv"!g;
}
- } $_ foreach grep { -e $_ } "/etc/X11/XF86Config-4", "/etc/X11/XF86Config", "/etc/X11/xorg.conf";
+ } '/etc/X11/xorg.conf';
require Xconfig::card;
Xconfig::card::libgl_config_and_more({ Driver => 'nv' }) if $done;
@@ -94,7 +94,7 @@ if (find { $_->{driver} =~ /ATI Radeon/ } detect_devices::probeall()) {
s!Driver "fglrx"!Driver "$driver"!g;
}
s!Driver "fglrx"!Driver "$driver"!g;
- } $_ foreach grep { -e $_ } "/etc/X11/XF86Config-4", "/etc/X11/XF86Config", "/etc/X11/xorg.conf";
+ } '/etc/X11/xorg.conf';
require Xconfig::card;
Xconfig::card::libgl_config_and_more({ Driver => $driver });