diff options
author | Lenard Spencer <lenardrspencer@gmail.com> | 2024-08-27 11:48:56 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-08-27 11:59:19 +0700 |
commit | 4d103873ea189ec6b55f92374822a10c6ff53514 (patch) | |
tree | 6c874dad8e4ddb992ce2521b8a13dbc8357d126e /system/nvidia-driver | |
parent | 7f613a4cc1e9e7fb4dfa9d98fc3b1a52f24e8b1f (diff) |
system/nvidia-driver: Remove nvidia-installer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-driver')
-rw-r--r-- | system/nvidia-driver/nvidia-driver.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild index fb8e923d6f71d..81b16aae7f07f 100644 --- a/system/nvidia-driver/nvidia-driver.SlackBuild +++ b/system/nvidia-driver/nvidia-driver.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nvidia-driver VERSION=${VERSION:-560.35.03} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -279,7 +279,7 @@ sed -i "s|__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__|Settings;|" $PKG/usr/share/appl # Remove depcrecated entry in nvidia-settings.desktop sed -i '/Encoding/d' $PKG/usr/share/applications/nvidia-settings.desktop -# Remove xorg conf file since we handle that in nvidia-kernel +# Remove xorg conf folder since we handle that in nvidia-kernel rm -rf $PKG/etc/X11/xorg.conf.d cd $TMP/$SRCNAM @@ -325,6 +325,10 @@ if [ "${PERSISTENCED:-no}" = "yes" ]; then chown nvidia:nvidia $PKG/var/run/nvidia-persistenced fi +# We must now remove our custom nvidia-installer as it will no longer +# work on an installed driver: +rm -f $PKG/usr/bin/nvidia-{installer,uninstall} + # Flag multilib as needed and build package. cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION$MULTI-$TARGET-$BUILD$TAG.$PKGTYPE |