aboutsummaryrefslogtreecommitdiff
path: root/games/njam/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-08-18 03:36:15 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-24 11:55:24 +0700
commit23d3220f042893920a78b0a2e9d1e7f357fc800d (patch)
tree5b7c2cd7c5c37d15e520b9ea73490952efb4c86b /games/njam/doinst.sh
parentbe7a270ab9195a70084a626c528d99f24227e0bf (diff)
games/njam: New maintainer, various tweaks.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/njam/doinst.sh')
-rw-r--r--games/njam/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/njam/doinst.sh b/games/njam/doinst.sh
index 5fb28930db0b..65c7e2eeb9aa 100644
--- a/games/njam/doinst.sh
+++ b/games/njam/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