summaryrefslogtreecommitdiff
path: root/development/medit/doinst.sh
diff options
context:
space:
mode:
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
+