summaryrefslogtreecommitdiff
path: root/development/medit/doinst.sh
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 19:44:18 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:18 +0200
commit20f2d0a33aff6d2564546c0892c59934873ab231 (patch)
tree2fbe155fa814dd19019503723dd993a9e4f7eea7 /development/medit/doinst.sh
parent2c9a0ee9a83316886e03ba1f5e79b65f791856de (diff)
downloadslackbuilds-20f2d0a33aff6d2564546c0892c59934873ab231.tar.gz
development/medit: Updated for version 0.8.5
Diffstat (limited to 'development/medit/doinst.sh')
-rw-r--r--development/medit/doinst.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/development/medit/doinst.sh b/development/medit/doinst.sh
index 85aad974d0..209593d4a3 100644
--- a/development/medit/doinst.sh
+++ b/development/medit/doinst.sh
@@ -1,3 +1,12 @@
if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database &> /dev/null
+ usr/bin/update-desktop-database > /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 [ -x usr/bin/gtk-update-icon-cache ]; then
+ gtk-update-icon-cache -f -t usr/share/icons/hicolor > /dev/null 2>&1
+fi
+