aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy96-driver/nvidia-switch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-04-07 23:47:29 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-15 10:24:54 +0200
commit3be5d4f283154596018ba49ba9ba5722cd44dc86 (patch)
tree6e50ec56a9b962a9fca92a369c8d3c46b134fc23 /system/nvidia-legacy96-driver/nvidia-switch
parentca20cc853579ab781f0ebe0775bad101f26089af (diff)
system/nvidia-legacy96-driver: Updated for version 96.43.16.
Diffstat (limited to 'system/nvidia-legacy96-driver/nvidia-switch')
-rw-r--r--system/nvidia-legacy96-driver/nvidia-switch15
1 files changed, 2 insertions, 13 deletions
diff --git a/system/nvidia-legacy96-driver/nvidia-switch b/system/nvidia-legacy96-driver/nvidia-switch
index f4e0ed4948084..b700fb2f5d97e 100644
--- a/system/nvidia-legacy96-driver/nvidia-switch
+++ b/system/nvidia-legacy96-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"