aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-driver/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:41:07 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:41:07 +0200
commitd43ed837763e40fb47bd62cdfbec71a20ea82680 (patch)
tree50ef1809461039fb7fad91aa591c310a903a54bf /system/nvidia-driver/doinst.sh
parenta317d2ef48033955273dd47601b64ca1dab4ef04 (diff)
system/nvidia-driver: Updated for version 190.42
Diffstat (limited to 'system/nvidia-driver/doinst.sh')
-rw-r--r--system/nvidia-driver/doinst.sh47
1 files changed, 21 insertions, 26 deletions
diff --git a/system/nvidia-driver/doinst.sh b/system/nvidia-driver/doinst.sh
index b78c85ae2387f..5d892d248a992 100644
--- a/system/nvidia-driver/doinst.sh
+++ b/system/nvidia-driver/doinst.sh
@@ -2,32 +2,27 @@ if [ -x /usr/bin/update-desktop-database ]; then
./usr/bin/update-desktop-database -q usr/share/applications
fi
-if ! [ -e usr/lib/xorg/modules/libwfb.so ]; then
- ( cd usr/lib/xorg/modules ; ln -s libnvidia-wfb.so.1 libwfb.so )
+if ! [ -e usr/libLIBDIRSUFFIX/xorg/modules/libwfb.so ]; then
+ ( cd usr/libLIBDIRSUFFIX/xorg/modules ; ln -s libnvidia-wfb.so.1 libwfb.so )
fi
-( cd usr/lib/tls ; rm -rf libnvidia-tls.so.1 )
-( cd usr/lib/tls ; ln -sf tls/libnvidia-tls.so.PKGVERSION libnvidia-tls.so.1 )
-( cd usr/lib/xorg/modules ; rm -rf libnvidia-wfb.so.1 )
-( cd usr/lib/xorg/modules ; ln -sf libnvidia-wfb.so.PKGVERSION libnvidia-wfb.so.1 )
-( cd usr/lib ; rm -rf libnvidia-cfg.so.1 )
-( cd usr/lib ; ln -sf libnvidia-cfg.so.PKGVERSION libnvidia-cfg.so.1 )
-( cd usr/lib ; rm -rf libnvidia-tls.so.1 )
-( cd usr/lib ; ln -sf libnvidia-tls.so.PKGVERSION libnvidia-tls.so.1 )
-( cd usr/lib ; rm -rf libXvMCNVIDIA_dynamic.so.1 )
-( cd usr/lib ; ln -sf libXvMCNVIDIA.so.PKGVERSION libXvMCNVIDIA_dynamic.so.1 )
-( cd usr/lib ; rm -rf libvdpau.so )
-( cd usr/lib ; ln -sf libvdpau.so.1 libvdpau.so )
-( cd usr/lib ; ln -sf libvdpau.so.PKGVERSION libvdpau.so.1 )
-( cd usr/lib ; rm -rf libvdpau_nvidia.so )
-( cd usr/lib ; ln -sf libvdpau_nvidia.so.PKGVERSION libvdpau_nvidia.so )
-( cd usr/lib ; rm -rf libvdpau_trace.so )
-( cd usr/lib ; ln -sf libvdpau_trace.so.PKGVERSION libvdpau_trace.so )
-( cd usr/lib ; rm -rf libnvidia-cfg.so )
-( cd usr/lib ; ln -sf libnvidia-cfg.so.1 libnvidia-cfg.so )
-( cd usr/lib ; rm -rf libcuda.so.1 )
-( cd usr/lib ; ln -sf libcuda.so.PKGVERSION libcuda.so.1 )
-( cd usr/lib ; rm -rf libcuda.so )
-( cd usr/lib ; ln -sf libcuda.so.1 libcuda.so )
+( cd usr/libLIBDIRSUFFIX/tls ; rm -rf libnvidia-tls.so.1 )
+( cd usr/libLIBDIRSUFFIX/tls ; ln -sf libnvidia-tls.so.PKGVERSION libnvidia-tls.so.1 )
+( cd usr/libLIBDIRSUFFIX/xorg/modules ; rm -rf libnvidia-wfb.so.1 )
+( cd usr/libLIBDIRSUFFIX/xorg/modules ; ln -sf libnvidia-wfb.so.PKGVERSION libnvidia-wfb.so.1 )
+( cd usr/libLIBDIRSUFFIX ; rm -rf libnvidia-cfg.so.1 )
+( cd usr/libLIBDIRSUFFIX ; ln -sf libnvidia-cfg.so.PKGVERSION libnvidia-cfg.so.1 )
+( cd usr/libLIBDIRSUFFIX ; rm -rf libnvidia-tls.so.1 )
+( cd usr/libLIBDIRSUFFIX ; ln -sf libnvidia-tls.so.PKGVERSION libnvidia-tls.so.1 )
+( cd usr/libLIBDIRSUFFIX ; rm -rf libXvMCNVIDIA_dynamic.so.1 )
+( cd usr/libLIBDIRSUFFIX ; ln -sf libXvMCNVIDIA.so.PKGVERSION libXvMCNVIDIA_dynamic.so.1 )
+( cd usr/libLIBDIRSUFFIX ; rm -rf libvdpau_nvidia.so )
+( cd usr/libLIBDIRSUFFIX ; ln -sf libvdpau_nvidia.so.PKGVERSION libvdpau_nvidia.so )
+( cd usr/libLIBDIRSUFFIX ; rm -rf libnvidia-cfg.so )
+( cd usr/libLIBDIRSUFFIX ; ln -sf libnvidia-cfg.so.1 libnvidia-cfg.so )
+( cd usr/libLIBDIRSUFFIX ; rm -rf libcuda.so.1 )
+( cd usr/libLIBDIRSUFFIX ; ln -sf libcuda.so.PKGVERSION libcuda.so.1 )
+( cd usr/libLIBDIRSUFFIX ; rm -rf libcuda.so )
+( cd usr/libLIBDIRSUFFIX ; ln -sf libcuda.so.1 libcuda.so )
-/usr/sbin/nvidia-switch --install \ No newline at end of file
+/usr/sbin/nvidia-switch --install