summaryrefslogtreecommitdiffstats
path: root/games/typhoon_2001/doinst.sh
diff options
context:
space:
mode:
author B. Watson2021-10-12 12:59:00 +0200
committer Willy Sudiarto Raharjo2021-10-12 19:52:46 +0200
commit809e0e172d3bc33940e195535edd242c27d6c28d (patch)
tree1c136c03f9736ab9c681f4aa305adea30620fb24 /games/typhoon_2001/doinst.sh
parentf0f12a5b5487a0b77b500cec38f0a46aab281d01 (diff)
downloadslackbuilds-809e0e172d3bc33940e195535edd242c27d6c28d.tar.gz
games/typhoon_2001: Put exe in /usr/games.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/typhoon_2001/doinst.sh')
-rw-r--r--games/typhoon_2001/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/typhoon_2001/doinst.sh b/games/typhoon_2001/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/games/typhoon_2001/doinst.sh
+++ b/games/typhoon_2001/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