aboutsummaryrefslogtreecommitdiff
path: root/games/ZEsarUX/doinst.sh
diff options
context:
space:
mode:
authorAntonio Leal <antonioleal@yahoo.com>2018-01-21 07:24:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-27 07:43:46 +0700
commit349d26f5d4bd736e6b8c0b28a1bd4a8895431523 (patch)
treecc8d356743e16dcf96ca9381fdfb691aed6815a9 /games/ZEsarUX/doinst.sh
parent56d1d7176f745c544d0e3e40aab222dc849becf8 (diff)
games/ZEsarUX: Added (Machines Emulator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/ZEsarUX/doinst.sh')
-rw-r--r--games/ZEsarUX/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/ZEsarUX/doinst.sh b/games/ZEsarUX/doinst.sh
new file mode 100644
index 000000000000..aea0f894eb32
--- /dev/null
+++ b/games/ZEsarUX/doinst.sh
@@ -0,0 +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 [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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