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