summaryrefslogtreecommitdiffstats
path: root/games/wargus/doinst.sh
diff options
context:
space:
mode:
author B. Watson2021-11-19 21:52:29 +0100
committer Willy Sudiarto Raharjo2021-12-04 04:08:56 +0100
commitd5fbb22ef6de00d6eafa758b6435256838992f02 (patch)
treec5b6b4d7ab89492b9cdd8047f8081f2097fd4aa6 /games/wargus/doinst.sh
parentc6908a839f001b94b432bf071dffc9f4e3fbaa24 (diff)
downloadslackbuilds-d5fbb22ef6de00d6eafa758b6435256838992f02.tar.gz
games/wargus: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/wargus/doinst.sh')
-rw-r--r--games/wargus/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/wargus/doinst.sh b/games/wargus/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/games/wargus/doinst.sh
+++ b/games/wargus/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