summaryrefslogtreecommitdiff
path: root/development/tiled/doinst.sh
diff options
context:
space:
mode:
authorYth - Arnaud <yth@ythogtha.org>2017-09-22 21:58:03 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-09-22 21:58:34 +0100
commit561f404f0b3e2de389065c05963d2eadeccb22ef (patch)
tree067d4b6104977d4179a1a6e8b0df4554974a72c8 /development/tiled/doinst.sh
parent7b136d4cfb4e2c47241e8c0d82e603172cf4dc87 (diff)
downloadslackbuilds-561f404f0b3e2de389065c05963d2eadeccb22ef.tar.gz
development/tiled: Added (Tiled map editor), renamed from tiled-qt.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/tiled/doinst.sh')
-rw-r--r--development/tiled/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/tiled/doinst.sh b/development/tiled/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/tiled/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