aboutsummaryrefslogtreecommitdiff
path: root/academic/kile/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 19:38:44 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:36 -0500
commite5651cee0fc41e69157a7310f9a5a89bfb247292 (patch)
treecdc9824edb317e1ca689eaf199c2761edf465f74 /academic/kile/doinst.sh
parentadf2c7c2ca1a19170226807d3d65c02b1380fa0b (diff)
academic/kile: Fixed (Handle mime info)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/kile/doinst.sh')
-rw-r--r--academic/kile/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/academic/kile/doinst.sh b/academic/kile/doinst.sh
index 3e5691a052b5b..9424ce43ff572 100644
--- a/academic/kile/doinst.sh
+++ b/academic/kile/doinst.sh
@@ -2,6 +2,10 @@ 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
+
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1