diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-12 01:15:40 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:43 +0700 |
commit | 397bc0cd9bfb2dfcdbfa97523f02f9f02e15add2 (patch) | |
tree | b7168f481ddb776c918e5a41d71b149b6da5d40a /games/zdoom/doinst.sh | |
parent | 8d93bcfabe35a584ae25540ef992a1be84ce0bd9 (diff) |
games/zdoom: New-style icons, fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/zdoom/doinst.sh')
-rw-r--r-- | games/zdoom/doinst.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/games/zdoom/doinst.sh b/games/zdoom/doinst.sh index 4e8ba7071dea7..3e5691a052b5b 100644 --- a/games/zdoom/doinst.sh +++ b/games/zdoom/doinst.sh @@ -2,3 +2,8 @@ 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 |