summaryrefslogtreecommitdiff
path: root/games/mrrescue/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-22 06:42:15 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:22 +0700
commit77fda57747bf5fbf6c427359a1da8c77f68dae10 (patch)
tree7bc6bdcabd5596c33d0c66df7f961ca4251747f0 /games/mrrescue/doinst.sh
parentb1ee6977c2b6ca27020f3fdd6fb6cd7e8c8e661f (diff)
downloadslackbuilds-77fda57747bf5fbf6c427359a1da8c77f68dae10.tar.gz
games/mrrescue: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/mrrescue/doinst.sh')
-rw-r--r--games/mrrescue/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/mrrescue/doinst.sh b/games/mrrescue/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/games/mrrescue/doinst.sh
+++ b/games/mrrescue/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