aboutsummaryrefslogtreecommitdiff
path: root/games/rott/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-12-22 09:24:35 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-22 09:24:50 +0100
commit7efb8b79269ada1c85871fb34fd7278979dd2d61 (patch)
treeb9bfb7b0ac55fa363e932ce0625fe0473503a190 /games/rott/doinst.sh
parent0420169799711184978bf3b97b983f49e4302619 (diff)
games/rott: Updated for version 1.1.2, cleanups.
(forced -j1 as parallel building is broken --ponce) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/rott/doinst.sh')
-rw-r--r--games/rott/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/rott/doinst.sh b/games/rott/doinst.sh
index 392c12adb9bd3..86cad8c1a4898 100644
--- a/games/rott/doinst.sh
+++ b/games/rott/doinst.sh
@@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications
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
+