summaryrefslogtreecommitdiffstats
path: root/games/fuse-emulator/doinst.sh
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2014-05-06 09:08:04 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-12 07:35:44 +0700
commit86d76abb25fffa995fc65e2c83f46368a311e75c (patch)
tree1c5ed63cc810d6756f3997e293f9451eafe7618b /games/fuse-emulator/doinst.sh
parenta960fddf0f9c31c8542a9dad75f0be66679c0230 (diff)
downloadslackbuilds-86d76abb25fffa995fc65e2c83f46368a311e75c.tar.gz
slackbuilds-86d76abb25fffa995fc65e2c83f46368a311e75c.tar.xz
games/fuse-emulator: Added (the Free Unix Spectrum Emulator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/fuse-emulator/doinst.sh')
-rw-r--r--games/fuse-emulator/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/fuse-emulator/doinst.sh b/games/fuse-emulator/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/games/fuse-emulator/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi