aboutsummaryrefslogtreecommitdiff
path: root/academic/gaw3/doinst.sh
diff options
context:
space:
mode:
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