summaryrefslogtreecommitdiffstats
path: root/games/crispy-doom/doinst.sh
diff options
context:
space:
mode:
author Dugan Chen <thedoogster [at] gmail [dot] com>2017-12-09 21:40:30 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-16 07:32:01 +0700
commit546b4c3d5e5754df7de6df502eec132366b8ba0a (patch)
tree3874ae87dd65241c632da80d61dce6d743908567 /games/crispy-doom/doinst.sh
parent318011fd3b2b49e2bbd0c717fb90d2d6dbd10b4e (diff)
downloadslackbuilds-546b4c3d5e5754df7de6df502eec132366b8ba0a.tar.gz
slackbuilds-546b4c3d5e5754df7de6df502eec132366b8ba0a.tar.xz
games/crispy-doom: Fixed icon locations.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/crispy-doom/doinst.sh')
-rw-r--r--games/crispy-doom/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/crispy-doom/doinst.sh b/games/crispy-doom/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/games/crispy-doom/doinst.sh
+++ b/games/crispy-doom/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi