summaryrefslogtreecommitdiff
path: root/academic/speedcrunch/doinst.sh
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-07-05 17:26:42 +0700
committerRobby Workman <rworkman@slackbuilds.org>2014-07-07 00:00:37 -0500
commitf68762a0bd9b38bd72ca541bd75a13ecc96a707b (patch)
treea9e3c131bcdf379fcd86652fa85e985018bde554 /academic/speedcrunch/doinst.sh
parent9bf0d51a6ff93f29a2d786d2ca809500a4acd9f0 (diff)
downloadslackbuilds-f68762a0bd9b38bd72ca541bd75a13ecc96a707b.tar.gz
academic/speedcrunch: Updated for version 0.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/speedcrunch/doinst.sh')
-rw-r--r--academic/speedcrunch/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/academic/speedcrunch/doinst.sh b/academic/speedcrunch/doinst.sh
index 4e8ba7071d..3e5691a052 100644
--- a/academic/speedcrunch/doinst.sh
+++ b/academic/speedcrunch/doinst.sh
@@ -2,3 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi