aboutsummaryrefslogtreecommitdiff
path: root/games/OpenRA/doinst.sh
diff options
context:
space:
mode:
authorkhronosschoty <khronosschoty@posteo.org>2018-08-12 17:50:01 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-18 08:39:43 +0700
commitfba744c4d8358ed499c868599e552cf953a6b985 (patch)
tree575e2dbb26276ff58545bc2dcd3a9aaa1ab0b038 /games/OpenRA/doinst.sh
parent711a0b8e43d7362f2b12239104f0ee7c3bf344a3 (diff)
games/OpenRA: Updated for version 20180307.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/OpenRA/doinst.sh')
-rw-r--r--games/OpenRA/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/OpenRA/doinst.sh b/games/OpenRA/doinst.sh
new file mode 100644
index 0000000000000..65c7e2eeb9aa5
--- /dev/null
+++ b/games/OpenRA/doinst.sh
@@ -0,0 +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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi