summaryrefslogtreecommitdiff
path: root/system/nvidia-driver/nvidia-switch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-04-07 23:40:57 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-15 10:24:39 +0200
commit0648c6bddd4c8f6302708fd96293499a99e13b31 (patch)
treeadb54aaf186ad522dbe80335ee371a4354ce8d0b /system/nvidia-driver/nvidia-switch
parent5345cda7074f3d1fdcc9a0a828780d41cb553e63 (diff)
downloadslackbuilds-0648c6bddd4c8f6302708fd96293499a99e13b31.tar.gz
system/nvidia-driver: Updated for version 195.36.15.
Diffstat (limited to 'system/nvidia-driver/nvidia-switch')
-rw-r--r--system/nvidia-driver/nvidia-switch15
1 files changed, 2 insertions, 13 deletions
diff --git a/system/nvidia-driver/nvidia-switch b/system/nvidia-driver/nvidia-switch
index f4e0ed4948..b700fb2f5d 100644
--- a/system/nvidia-driver/nvidia-switch
+++ b/system/nvidia-driver/nvidia-switch
@@ -20,7 +20,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# nvidia-switch utility 0.8.1
+# nvidia-switch utility 0.8.2
#
# A tool to switch between nvidia-binary-driver and stock xorg-driver
# if both are installed in parallel.
@@ -236,15 +236,6 @@ fi
cd $CWD
}
-libwfb_nvidia(){
-#Recreate the link removed by --xorg
-if ! [ -e "$XMOD/libwfb.so" ]; then
- cd $XMOD
- ln -s libnvidia-wfb.so.1 libwfb.so
- cd $CWD
-fi
-}
-
nvidia_ldconfig(){
/sbin/ldconfig
#Generate correct symink for that lib
@@ -360,7 +351,7 @@ check_glx(){
}
check_wfb(){
- for i in libwfb.so libwfb.la libnvidia-wfb.so.1 libnvidia-wfb.so.$NV_VERSION; do
+ for i in libnvidia-wfb.so.1 libnvidia-wfb.so.$NV_VERSION; do
if [ "$i" = "libnvidia-wfb.so.1" ]; then
check $XMOD $i "link"
else
@@ -443,7 +434,6 @@ nvidia(){
libglcore_nvidia
libs "nvidia"
libglx_nvidia
- libwfb_nvidia
LD_NVIDIA="${LIB}/libGL.so.$NV_VERSION-nvidia"
nvidia_ldconfig $LD_NVIDIA
@@ -471,7 +461,6 @@ xorg(){
else
libglx_xorg "xorg"
fi
- remove_link "$XMOD/libwfb.so"
LD_NVIDIA="${LIB}/libGL.so.1.2"
nvidia_ldconfig $LD_NVIDIA "xorg"