summaryrefslogtreecommitdiff
path: root/development/poedit/doinst.sh
diff options
context:
space:
mode:
authorNiklas 'Nille' Åkerström <nille.kungen[AT]gmail.com>2011-01-05 07:05:38 -0200
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:21 -0600
commit46c919a2bca7b0d27d74fe9f4362d3273e509d14 (patch)
tree95adfecfa9182c480f392ea1cd276e6fdfd530f4 /development/poedit/doinst.sh
parentf3edeffb2c8244005ac1702a4d7dbc2a6e6cd37c (diff)
downloadslackbuilds-46c919a2bca7b0d27d74fe9f4362d3273e509d14.tar.gz
development/poedit: Updated for version 1.4.6.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/poedit/doinst.sh')
-rw-r--r--development/poedit/doinst.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/development/poedit/doinst.sh b/development/poedit/doinst.sh
index 1f8ff67ded..9424ce43ff 100644
--- a/development/poedit/doinst.sh
+++ b/development/poedit/doinst.sh
@@ -2,9 +2,12 @@ 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
fi
fi
-