diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-27 01:17:26 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-29 17:07:25 +0700 |
commit | ced5f851e28d3fdb521dc0f83f7c662a24c80665 (patch) | |
tree | 377d40d075a7c5772d848d0fd13ed181a5ff22bf /games/pom1/doinst.sh | |
parent | 2b6fe88c16d9044b0c718d5debd227c734d29243 (diff) |
games/pom1: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pom1/doinst.sh')
-rw-r--r-- | games/pom1/doinst.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/games/pom1/doinst.sh b/games/pom1/doinst.sh index 4e8ba7071dea7..3e5691a052b5b 100644 --- a/games/pom1/doinst.sh +++ b/games/pom1/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 |