diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-28 06:29:46 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-29 17:07:25 +0700 |
commit | a555d5996294d0604415fb5d4077a3d325e67ab9 (patch) | |
tree | 938fb13949d534891a71175b7391d19d90f8158f /games/mininim/doinst.sh | |
parent | cf8c488479b372be4f753183fd9e97493c5ebe1d (diff) |
games/mininim: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/mininim/doinst.sh')
-rw-r--r-- | games/mininim/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/mininim/doinst.sh b/games/mininim/doinst.sh index 5fb28930db0b9..3e5691a052b5b 100644 --- a/games/mininim/doinst.sh +++ b/games/mininim/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 |