aboutsummaryrefslogtreecommitdiff
path: root/games/xroar/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-15 14:14:26 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:13 +0700
commit48a5d146eb506c8b3374f31a3e0c11c6d5a7348a (patch)
tree86f4e4b454d464c5d07b184359ba16513dc132b4 /games/xroar/doinst.sh
parentef7a5ef24d6df01cf0ce60df57b26df0f061b705 (diff)
games/xroar: Updated for version 0.37.1.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/xroar/doinst.sh')
-rw-r--r--games/xroar/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/xroar/doinst.sh b/games/xroar/doinst.sh
index 5fb28930db0b9..2b1fcc9774067 100644
--- a/games/xroar/doinst.sh
+++ b/games/xroar/doinst.sh
@@ -1,3 +1,13 @@
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
+
+if [ -x /usr/bin/install-info ]; then
+ /usr/bin/install-info usr/info/xroar.info.gz usr/info/dir
+fi