summaryrefslogtreecommitdiffstats
path: root/system/emelfm2/doinst.sh
diff options
context:
space:
mode:
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