summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-25 10:53:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-25 10:53:55 +0000
commit9c3578ec5f22d2c25e8abd10308a32a51362e6b8 (patch)
treec62c26ddb3cbd17e7a79a8befb3c8d6644c802a8 /perl-install
parentc74f8c59e8f07921f4682faa1c64c9018b3b0a51 (diff)
downloaddrakx-backup-do-not-use-9c3578ec5f22d2c25e8abd10308a32a51362e6b8.tar
drakx-backup-do-not-use-9c3578ec5f22d2c25e8abd10308a32a51362e6b8.tar.gz
drakx-backup-do-not-use-9c3578ec5f22d2c25e8abd10308a32a51362e6b8.tar.bz2
drakx-backup-do-not-use-9c3578ec5f22d2c25e8abd10308a32a51362e6b8.tar.xz
drakx-backup-do-not-use-9c3578ec5f22d2c25e8abd10308a32a51362e6b8.zip
check that libglx.so is a link instead of checking if it exists (since it is
now in nvidia.clp)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Xconfig/card.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm
index 5ef15cea5..fdd1a97ea 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -356,7 +356,7 @@ sub install_server {
#- and driver and GLX extension is present.
if ($card->{Driver2} eq 'nvidia' &&
-e "$::prefix/usr/X11R6/lib/modules/drivers/nvidia_drv.o" &&
- -e "$::prefix/usr/X11R6/lib/modules/extensions/libglx.so") {
+ -l "$::prefix/usr/X11R6/lib/modules/extensions/libglx.so") {
log::l("Using specific NVIDIA driver and GLX extensions");
$card->{Driver} = 'nvidia';
$card->{DRI_GLX_SPECIAL} = 1;