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.sh13
1 files changed, 4 insertions, 9 deletions
diff --git a/development/medit/doinst.sh b/development/medit/doinst.sh
index 209593d4a3..9d2c5dc820 100644
--- a/development/medit/doinst.sh
+++ b/development/medit/doinst.sh
@@ -1,12 +1,7 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database > /dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
fi
-if [ -x usr/bin/update-mime-database ]; then
- usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime &> /dev/null
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
-