diff options
author | D Woodfall | 2023-05-17 01:39:43 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2023-05-20 06:18:00 +0200 |
commit | a278e0b9c404af96c2cd9236feac89ef1eadb667 (patch) | |
tree | 74a7bb64e38b299aa410e5f664cd330821bdf452 /development/cudatoolkit/doinst.sh | |
parent | fcb75967c6d8025ee43d904c5f1e59b6c369a151 (diff) | |
download | slackbuilds-a278e0b9c404af96c2cd9236feac89ef1eadb667.tar.gz |
development/cudatoolkit: Fix ARCH sect. amd symlinks.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/cudatoolkit/doinst.sh')
-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 + |