aboutsummaryrefslogtreecommitdiff
path: root/games/sdlpop/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-25 15:53:15 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:23 +0700
commit6044dfe2442b2e22f7ad23b3ae4fe46e57bb46dc (patch)
tree0d0570b435e0ce9e5010e33f842da9f6cba33393 /games/sdlpop/doinst.sh
parent6cf20702d0ac8cbcde1836237a4885b57d3a802e (diff)
games/sdlpop: Updated for version 1.22.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/sdlpop/doinst.sh')
-rw-r--r--games/sdlpop/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/sdlpop/doinst.sh b/games/sdlpop/doinst.sh
index 5fb28930db0b9..3e5691a052b5b 100644
--- a/games/sdlpop/doinst.sh
+++ b/games/sdlpop/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