summaryrefslogtreecommitdiffstats
path: root/games/skulltag/doinst.sh
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-10-24 16:40:26 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:23 +0700
commit9f7c8b6c0dbbbb2d66690ac27da598e0aad1fc27 (patch)
tree4330b77b63419d2e2c9feaa03f42735d34b39ca2 /games/skulltag/doinst.sh
parent0acc8c3dc64724524698906016d62836125e7377 (diff)
downloadslackbuilds-9f7c8b6c0dbbbb2d66690ac27da598e0aad1fc27.tar.gz
slackbuilds-9f7c8b6c0dbbbb2d66690ac27da598e0aad1fc27.tar.xz
games/skulltag: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/skulltag/doinst.sh')
-rw-r--r--games/skulltag/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/skulltag/doinst.sh b/games/skulltag/doinst.sh
index 4e8ba7071d..3e5691a052 100644
--- a/games/skulltag/doinst.sh
+++ b/games/skulltag/doinst.sh
@@ -2,3 +2,8 @@ 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