[Slackbuilds-users] correction to nvidia-driver in "pending"

King Beowulf kingbeowulf at gmail.com
Fri Nov 21 05:49:29 UTC 2014


Willy,

You're too fast for me.  A couple of typos sneaked through
'nvidia-switch' in the nvidia-driver package. My bad.

--------------------------
diff --git a/system/nvidia-driver/nvidia-switch
b/system/nvidia-driver/nvidia-switch
index 2bf2ff3..8d8a958 100644
--- a/system/nvidia-driver/nvidia-switch
+++ b/system/nvidia-driver/nvidia-switch
@@ -58,7 +58,7 @@ save_GL(){
     mv libGL.so.$GL_VERSION-xorg libGL.so.$GL_VERSION
     ln -sf libGL.so.$GL_VERSION libGL.so.1
     ln -sf libGL.so.$GL_VERSION libGL.so
-    rm -sf libGL.so.$NV_VERSION
+    rm -f libGL.so.$NV_VERSION
   fi
   cd "$CWD"
 }
@@ -119,7 +119,7 @@ multilib(){
                        mv libGL.so.$GL_VERSION-xorg libGL.so.$GL_VERSION
                        ln -sf libGL.so.$GL_VERSION libGL.so.1
                        ln -sf libGL.so.$GL_VERSION libGL.so
-                       rm -sf libGL.so.$NV_VERSION
+                       rm -f libGL.so.$NV_VERSION
        ;;
        esac
        cd "$CWD"
---------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvidia-driver-switch.diff
Type: text/x-patch
Size: 829 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20141120/f99edf65/attachment.bin>


More information about the SlackBuilds-users mailing list