summaryrefslogtreecommitdiffstats
path: root/games/trackballs/doinst.sh
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2016-10-02 16:05:44 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-08 08:07:39 +0700
commit60de9e893c0928be5936e1cacd8f3c34491f9374 (patch)
tree08d3a50bd068577604089b6941e8c00bb3cebdf8 /games/trackballs/doinst.sh
parent3d675542259b7125f0adf5caecbea3a07fdd65db (diff)
downloadslackbuilds-60de9e893c0928be5936e1cacd8f3c34491f9374.tar.gz
slackbuilds-60de9e893c0928be5936e1cacd8f3c34491f9374.tar.xz
games/trackballs: Install icons correctly.
Diffstat (limited to 'games/trackballs/doinst.sh')
-rw-r--r--games/trackballs/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/trackballs/doinst.sh b/games/trackballs/doinst.sh
index 4e8ba7071d..3e5691a052 100644
--- a/games/trackballs/doinst.sh
+++ b/games/trackballs/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