diff options
author | B. Watson <yalhcru@gmail.com> | 2021-12-15 16:09:18 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-27 16:20:25 +0700 |
commit | 3db8192ffe0b1e67b06e102de459251f30c09c07 (patch) | |
tree | 16d875b73c7bb96839d66c05d08fe9acc28b64f0 /games/zsnes/doinst.sh | |
parent | 0788bf4363a15ecf8585638be5dd9c1719d7c543 (diff) |
games/zsnes: Fix -current build, new-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/zsnes/doinst.sh')
-rw-r--r-- | games/zsnes/doinst.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/games/zsnes/doinst.sh b/games/zsnes/doinst.sh index 392c12adb9bd3..5934a15ab1eff 100644 --- a/games/zsnes/doinst.sh +++ b/games/zsnes/doinst.sh @@ -2,3 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications 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 |