summaryrefslogtreecommitdiff
path: root/games/gtklife/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-08 17:42:05 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:40 +0700
commitf32fbf57374c73daa33900f17f97fdfee2120c36 (patch)
tree65110e21e7ccf06fc0cb34f70b645d5efedc0188 /games/gtklife/doinst.sh
parent7e3231a0591855284b1af0205dea0acaba4eafbe (diff)
downloadslackbuilds-f32fbf57374c73daa33900f17f97fdfee2120c36.tar.gz
games/gtklife: Build with gtk+2.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/gtklife/doinst.sh')
-rw-r--r--games/gtklife/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/gtklife/doinst.sh b/games/gtklife/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/games/gtklife/doinst.sh
+++ b/games/gtklife/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