aboutsummaryrefslogtreecommitdiff
path: root/academic/gaw3/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2017-04-08 23:13:19 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-13 07:27:44 +0700
commit4fe5c5562857643c461eb3b5ef5b13fdbce5d4a7 (patch)
treee0fa3adbdd3a219b39a828e044ab7d81f8244366 /academic/gaw3/doinst.sh
parent391d4a59ce95723d26622827668de47606d9c6f5 (diff)
academic/gaw3: Updated for version 20170326.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/gaw3/doinst.sh')
-rw-r--r--academic/gaw3/doinst.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/academic/gaw3/doinst.sh b/academic/gaw3/doinst.sh
index 9a8ded3c60349..65c7e2eeb9aa5 100644
--- a/academic/gaw3/doinst.sh
+++ b/academic/gaw3/doinst.sh
@@ -2,6 +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 [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+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