aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-driver/nvidia-driver.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-driver/nvidia-driver.SlackBuild')
-rw-r--r--system/nvidia-driver/nvidia-driver.SlackBuild34
1 files changed, 16 insertions, 18 deletions
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild
index cb536d4137457..21031db7044a6 100644
--- a/system/nvidia-driver/nvidia-driver.SlackBuild
+++ b/system/nvidia-driver/nvidia-driver.SlackBuild
@@ -25,7 +25,7 @@
# see changelog.txt
PRGNAM=nvidia-driver
-VERSION=${VERSION:-440.36}
+VERSION=${VERSION:-440.44}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -154,26 +154,24 @@ cd $TMP/$SRCNAM
$COMP32
# Clean-up: we really do not need this:
-rm -rf /var/lib/nvidia
-# If running current (15.0) remove duplicate libglvnd files
+rm -rf /var/log/nvidia
+# If running current (15.0) remove duplicate libglvnd files and symlinks
if [ "$CURRENT" = "yes" ]; then
- rm -f $PKG/usr/lib$LIBDIRSUFFIX/libEGL.so.1.1.0
- rm -f $PKG/usr/lib$LIBDIRSUFFIX/libGL.so.1.7.0
- rm -f $PKG/usr/lib$LIBDIRSUFFIX/libGLESv1_CM.so.1.2.0
- rm -f $PKG/usr/lib$LIBDIRSUFFIX/libGLESv2.so.2.1.0
- rm -f $PKG/usr/lib$LIBDIRSUFFIX/libGLX.so.0.0.0
- rm -f $PKG/usr/lib$LIBDIRSUFFIX/libGLdispatch.so.0.0.0
+ rm -f $PKG/usr/lib$LIBDIRSUFFIX/libEGL.so{,.1,.1.1.0}
+ rm -f $PKG/usr/lib$LIBDIRSUFFIX/libGL.so{,.1,.1.7.0}
+ rm -f $PKG/usr/lib$LIBDIRSUFFIX/libGLESv1_CM.so{,.1,.1.2.0}
+ rm -f $PKG/usr/lib$LIBDIRSUFFIX/libGLESv2.so{,.2,.2.1.0}
+ rm -f $PKG/usr/lib$LIBDIRSUFFIX/libGLX.so{,.0}
rm -f $PKG/usr/lib$LIBDIRSUFFIX/libGLdispatch.so.0
- rm -f $PKG/usr/lib$LIBDIRSUFFIX/libOpenGl.0.0.0
+ rm -f $PKG/usr/lib$LIBDIRSUFFIX/libOpenGL.so{,.0}
if [ "$ARCH" = "x86_64" -a "${COMPAT32}" = "yes" ]; then
- rm -f $PKG/usr/lib/libEGL.so.1.1.0
- rm -f $PKG/usr/lib/libGL.so.1.7.0
- rm -f $PKG/usr/lib/libGLESv1_CM.so.1.2.0
- rm -f $PKG/usr/lib/libGLESv2.so.2.1.0
- rm -f $PKG/usr/lib/libGLX.so.0.0.0
- rm -f $PKG/usr/lib/libGLdispatch.so.0.0.0
- rm -f $PKG/usr/lib/libGLdispatch.so.0
- rm -f $PKG/usr/lib/libOpenGl.0.0.0
+ rm -f $PKG/usr/lib/libEGL.so{,.1,.1.1.0}
+ rm -f $PKG/usr/lib/libGL.so{,.1,.1.7.0}
+ rm -f $PKG/usr/lib/libGLESv1_CM.so{,.1,.1.2.0}
+ rm -f $PKG/usr/lib/libGLESv2.so{,.2,.2.1.0}
+ rm -f $PKG/usr/lib/libGLX.so{,.0}
+ rm -f $PKG/usr/lib/libGLdispatch.so.0
+ rm -f $PKG/usr/lib/libOpenGL.so{,.0}
fi
fi