mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
system/nvidia-legacy390-driver: Fix doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
493d064c85
commit
f7969d2244
2 changed files with 7 additions and 1 deletions
|
@ -2,5 +2,11 @@ if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
/usr/bin/update-desktop-database -q usr/share/applications
|
/usr/bin/update-desktop-database -q usr/share/applications
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
usr/sbin/nvidia-switch --install
|
usr/sbin/nvidia-switch --install
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=nvidia-legacy390-driver
|
PRGNAM=nvidia-legacy390-driver
|
||||||
VERSION=${VERSION:-390.157}
|
VERSION=${VERSION:-390.157}
|
||||||
BUILD=${BUILD:-7}
|
BUILD=${BUILD:-8}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue