diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-22 06:42:15 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-29 17:07:22 +0700 |
commit | 77fda57747bf5fbf6c427359a1da8c77f68dae10 (patch) | |
tree | 7bc6bdcabd5596c33d0c66df7f961ca4251747f0 /games/mrrescue/doinst.sh | |
parent | b1ee6977c2b6ca27020f3fdd6fb6cd7e8c8e661f (diff) | |
download | slackbuilds-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.sh | 6 |
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 |