diff options
author | B. Watson <yalhcru@gmail.com> | 2021-11-03 00:13:45 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-04 10:08:54 +0700 |
commit | a1f5a814acb8546b24902f865780eb72392d7774 (patch) | |
tree | aeb45b9ac4b53a451a943ac580b0edb05405d727 /games/doomsday/doinst.sh | |
parent | b581a1a4da09dbd7528868935bf9fc1b048c6d41 (diff) |
games/doomsday: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/doomsday/doinst.sh')
-rw-r--r-- | games/doomsday/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/doomsday/doinst.sh b/games/doomsday/doinst.sh index 5fb28930db0b9..3e5691a052b5b 100644 --- a/games/doomsday/doinst.sh +++ b/games/doomsday/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 |