summaryrefslogtreecommitdiff
path: root/system/nvidia-driver/nvidia-driver.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2019-12-28 09:00:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-28 09:00:36 +0700
commit93844c3157de93a25d7660434cc5df0e73957d7c (patch)
treea36ef0c061e8442ae7d19f1daec0553c16a22178 /system/nvidia-driver/nvidia-driver.SlackBuild
parent73223e07be5274480eea2be97ea464ace8f2b410 (diff)
downloadslackbuilds-93844c3157de93a25d7660434cc5df0e73957d7c.tar.gz
system/nvidia-driver: Updated for version 440.44.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 cb536d4137..21031db704 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