summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2009-07-22 14:06:20 +0000
committerAnssi Hannula <anssi@mandriva.org>2009-07-22 14:06:20 +0000
commit96dda2b685b5e5453597fe7899c3b978277b740b (patch)
treeb690b3da478a0cf31a9799f212354b3b82c3e985 /lib/Xconfig
parent543837c945ad7ded0062e32653b895a968c9258e (diff)
downloaddrakx-kbd-mouse-x11-96dda2b685b5e5453597fe7899c3b978277b740b.tar
drakx-kbd-mouse-x11-96dda2b685b5e5453597fe7899c3b978277b740b.tar.gz
drakx-kbd-mouse-x11-96dda2b685b5e5453597fe7899c3b978277b740b.tar.bz2
drakx-kbd-mouse-x11-96dda2b685b5e5453597fe7899c3b978277b740b.tar.xz
drakx-kbd-mouse-x11-96dda2b685b5e5453597fe7899c3b978277b740b.zip
XFdrake: correctly detect proprietary drivers that are located in
/usr/lib/drivername/xorg (#52384)
Diffstat (limited to 'lib/Xconfig')
-rw-r--r--lib/Xconfig/proprietary.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Xconfig/proprietary.pm b/lib/Xconfig/proprietary.pm
index 78c1cd8..34b1c4f 100644
--- a/lib/Xconfig/proprietary.pm
+++ b/lib/Xconfig/proprietary.pm
@@ -70,7 +70,8 @@ sub may_use_Driver2 {
my $check_drv = sub {
my ($drv, $o_subdir) = @_;
- my @l = (if_($o_subdir, "$modules_dir/drivers/$o_subdir/$drv.so"),
+ my @l = (if_($o_subdir, "$modules_dir/drivers/$o_subdir/$drv.so",
+ "/usr/$lib/$o_subdir/xorg/$drv.so"),
"$modules_dir/drivers/$drv.so",
"$modules_dir/drivers/$drv.o");
my $has = find { -e "$::prefix$_" } @l;