summaryrefslogtreecommitdiffstats
path: root/development/cudatoolkit/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'development/cudatoolkit/doinst.sh')
-rw-r--r--development/cudatoolkit/doinst.sh13
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
+