summaryrefslogtreecommitdiffstats
path: root/desktop/enlightenment/doinst.sh
diff options
context:
space:
mode:
author Erik Falor2018-03-22 12:09:13 +0100
committer David Spencer2018-03-22 12:09:13 +0100
commite841309ac64fa5352342cbecf896f6b4599476bb (patch)
treea299f249427d0455bc306eac04694f7b30b0dcff /desktop/enlightenment/doinst.sh
parent7a49bdfb24366d7da289e25a50fb632429413fe6 (diff)
downloadslackbuilds-e841309ac64fa5352342cbecf896f6b4599476bb.tar.gz
desktop/enlightenment: Updated for version 0.22.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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