summaryrefslogtreecommitdiff
path: root/development/qt-creator/doinst.sh
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2012-12-30 13:39:16 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-30 13:39:16 -0500
commit53407915a342ad01727078aaca7661aff1d47e0a (patch)
treebd64a7aeb4b32c14b63bd6e63e88ada57aeb09f8 /development/qt-creator/doinst.sh
parent5cdddf9521c15bc6801adf735859c4b08bed85a5 (diff)
downloadslackbuilds-53407915a342ad01727078aaca7661aff1d47e0a.tar.gz
development/qt-creator: Updated for version 2.6.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/qt-creator/doinst.sh')
-rw-r--r--development/qt-creator/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/development/qt-creator/doinst.sh b/development/qt-creator/doinst.sh
index 1f8ff67ded..9830478e8c 100644
--- a/development/qt-creator/doinst.sh
+++ b/development/qt-creator/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