diff options
author | R. S. Ananda Murthy <rsamurti@gmail.com> | 2017-04-08 23:13:19 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-13 07:27:44 +0700 |
commit | 4fe5c5562857643c461eb3b5ef5b13fdbce5d4a7 (patch) | |
tree | e0fa3adbdd3a219b39a828e044ab7d81f8244366 /academic/gaw3/doinst.sh | |
parent | 391d4a59ce95723d26622827668de47606d9c6f5 (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.sh | 6 |
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 |