summaryrefslogtreecommitdiffstats
path: root/games/pom1/doinst.sh
diff options
context:
space:
mode:
author B. Watson2021-10-27 07:17:26 +0200
committer Willy Sudiarto Raharjo2021-10-29 12:07:25 +0200
commitced5f851e28d3fdb521dc0f83f7c662a24c80665 (patch)
tree377d40d075a7c5772d848d0fd13ed181a5ff22bf /games/pom1/doinst.sh
parent2b6fe88c16d9044b0c718d5debd227c734d29243 (diff)
downloadslackbuilds-ced5f851e28d3fdb521dc0f83f7c662a24c80665.tar.gz
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.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/pom1/doinst.sh b/games/pom1/doinst.sh
index 4e8ba7071d..3e5691a052 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