summaryrefslogtreecommitdiffstats
path: root/games/xspacewarp/doinst.sh
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-10-12 05:39:37 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:46 +0700
commitf0f12a5b5487a0b77b500cec38f0a46aab281d01 (patch)
tree67c993ce3f1db679a3e176a41abb58307258fd93 /games/xspacewarp/doinst.sh
parent30bcea97fcf0f7a1857f55ea3c256abf510c390e (diff)
downloadslackbuilds-f0f12a5b5487a0b77b500cec38f0a46aab281d01.tar.gz
slackbuilds-f0f12a5b5487a0b77b500cec38f0a46aab281d01.tar.xz
games/xspacewarp: Fix window close button.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/xspacewarp/doinst.sh')
-rw-r--r--games/xspacewarp/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/xspacewarp/doinst.sh b/games/xspacewarp/doinst.sh
index 1015d8fd4d..519aaca034 100644
--- a/games/xspacewarp/doinst.sh
+++ b/games/xspacewarp/doinst.sh
@@ -16,3 +16,9 @@ config etc/X11/app-defaults/XSpacewarp.new
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