aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimagereader/doinst.sh
diff options
context:
space:
mode:
authorwru <gnuandpenguinos@gmail.com>2015-02-20 08:56:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-20 08:56:32 +0700
commit3b7a596405ff2d50369cfda7fb3e89aa531a72bd (patch)
tree7990c62ef82b175ccbeba5b9febeb1044eb0060c /graphics/gimagereader/doinst.sh
parentbff111735e1b4cb0ea5a508ecf2668e0a210ea67 (diff)
graphics/gimagereader: Updated for version 3.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/gimagereader/doinst.sh')
-rw-r--r--graphics/gimagereader/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/gimagereader/doinst.sh b/graphics/gimagereader/doinst.sh
index 5fb28930db0b..3e5691a052b5 100644
--- a/graphics/gimagereader/doinst.sh
+++ b/graphics/gimagereader/doinst.sh
@@ -1,3 +1,9 @@
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