diff options
author | 2023-05-17 00:39:43 +0100 | |
---|---|---|
committer | 2023-05-17 00:58:13 +0100 | |
commit | d7c2b774897b5811d5a0a0cd14e7b9bd49165e72 (patch) | |
tree | d35e13db630fdee5895cb50eab3596064578cc0f /development/cudatoolkit/doinst.sh | |
parent | fbae95f550385962f2410321c75f7e8c77a116cd (diff) | |
download | slackbuilds-d7c2b774897b5811d5a0a0cd14e7b9bd49165e72.tar.gz slackbuilds-d7c2b774897b5811d5a0a0cd14e7b9bd49165e72.tar.xz |
development/cudatoolkit: Fix ARCH sect. amd symlinks.
Signed-off-by: bedlam <dave@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r-- | development/cudatoolkit/doinst.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/development/cudatoolkit/doinst.sh b/development/cudatoolkit/doinst.sh index ec40b576fe..98a8e99da0 100644 --- a/development/cudatoolkit/doinst.sh +++ b/development/cudatoolkit/doinst.sh @@ -1,3 +1,10 @@ -# install GCC 6 and link the compiler in cuda bin folder -ln -sf usr/bin/gcc-6 usr/share/cuda/bin/gcc -ln -sf usr/bin/g++-6 usr/share/cuda/bin/g++ +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 + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + |