aboutsummaryrefslogtreecommitdiff
path: root/games/wolf4sdl/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-15 15:18:11 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:14 +0700
commit1056ec5e5be84b6e666ed9c0ca22bf7d5fee281f (patch)
tree7a20ab81f4f4b2f0154140fc6dc5c7e1094b491e /games/wolf4sdl/doinst.sh
parent49b71b0265b39530bd1c66477bc6a2fb6010ddf1 (diff)
games/wolf4sdl: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/wolf4sdl/doinst.sh')
-rw-r--r--games/wolf4sdl/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/wolf4sdl/doinst.sh b/games/wolf4sdl/doinst.sh
index 5fb28930db0b..3e5691a052b5 100644
--- a/games/wolf4sdl/doinst.sh
+++ b/games/wolf4sdl/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