summaryrefslogtreecommitdiff
path: root/desktop/enlightenment/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/enlightenment/doinst.sh')
-rw-r--r--desktop/enlightenment/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/enlightenment/doinst.sh b/desktop/enlightenment/doinst.sh
index 1284de8456..b5948607c7 100644
--- a/desktop/enlightenment/doinst.sh
+++ b/desktop/enlightenment/doinst.sh
@@ -11,3 +11,11 @@ config() {
config etc/enlightenment/sysactions.conf.new
config etc/xdg/menus/e-applications.menu.new
config etc/X11/xinit/xinitrc.enlightenment.new
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/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