summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy173-driver/nvidia-switch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-04-07 23:44:53 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-15 10:24:49 +0200
commiteb5c77cca11ced21253edd37ca44821bea016228 (patch)
tree9ee441e29a5bed4667117553c1aec0fdda425efa /system/nvidia-legacy173-driver/nvidia-switch
parent44901a95d074be9dc88b4a3c09071ad1eec714b7 (diff)
downloadslackbuilds-eb5c77cca11ced21253edd37ca44821bea016228.tar.gz
system/nvidia-legacy173-driver: Updated for version 173.14.25.
Diffstat (limited to 'system/nvidia-legacy173-driver/nvidia-switch')
-rw-r--r--system/nvidia-legacy173-driver/nvidia-switch15
1 files changed, 2 insertions, 13 deletions
diff --git a/system/nvidia-legacy173-driver/nvidia-switch b/system/nvidia-legacy173-driver/nvidia-switch
index f4e0ed4948..b700fb2f5d 100644
--- a/system/nvidia-legacy173-driver/nvidia-switch
+++ b/system/nvidia-legacy173-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"