summaryrefslogtreecommitdiff
path: root/development/medit/doinst.sh
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 22:22:38 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:22:38 +0200
commita8b9186859eed5ac79236136590291385805525e (patch)
tree1759e3fa72ed61d3de1409ed9a0c63ea0aa84616 /development/medit/doinst.sh
parentd2ef54b71d18fc5b70318406e06231641e56d85e (diff)
downloadslackbuilds-a8b9186859eed5ac79236136590291385805525e.tar.gz
development/medit: Updated for version 0.9.4
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
-