summaryrefslogtreecommitdiff
path: root/games/assaultcube/doinst.sh
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-08-03 02:50:00 -0500
committerErik Hanson <erik@slackbuilds.org>2010-08-11 01:53:01 -0500
commitb88b095f6039f404171cf6d73dd68c5fe59b4f25 (patch)
treeed098992ef7f56bbacacb752f631ffb4a85abc12 /games/assaultcube/doinst.sh
parent08a3217f62195c9ece60b7600545510d3b561543 (diff)
downloadslackbuilds-b88b095f6039f404171cf6d73dd68c5fe59b4f25.tar.gz
games/assaultcube: Miscellaneous cleanups.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/assaultcube/doinst.sh')
-rw-r--r--games/assaultcube/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/assaultcube/doinst.sh b/games/assaultcube/doinst.sh
index 4e8ba7071d..1f8ff67ded 100644
--- a/games/assaultcube/doinst.sh
+++ b/games/assaultcube/doinst.sh
@@ -2,3 +2,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
+