summaryrefslogtreecommitdiff
path: root/system/emelfm2/doinst.sh
diff options
context:
space:
mode:
authorChess Griffin <chess@chessgriffin.com>2010-05-11 22:26:38 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:26:38 +0200
commitf18480faf7b65273a6ad87e69058f17e1cea3338 (patch)
treeae3b9a88e842d8d8f495bacb57d74057e2bc6001 /system/emelfm2/doinst.sh
parente41bcbd88bb99125dcae91b6160fd5575a708c3d (diff)
downloadslackbuilds-f18480faf7b65273a6ad87e69058f17e1cea3338.tar.gz
system/emelfm2: Updated for version 0.5.0
Diffstat (limited to 'system/emelfm2/doinst.sh')
-rw-r--r--system/emelfm2/doinst.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/emelfm2/doinst.sh b/system/emelfm2/doinst.sh
index 22d4849bce..1be07cc6d6 100644
--- a/system/emelfm2/doinst.sh
+++ b/system/emelfm2/doinst.sh
@@ -1,5 +1,8 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
fi
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi