summaryrefslogtreecommitdiff
path: root/graphics/dia/doinst.sh
diff options
context:
space:
mode:
authorDugan Chen <dugan [underscore] c [at] fastmail [dot] fm>2011-10-04 08:00:56 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-10-11 21:20:15 -0500
commita36bef798f1b669f6ed0a097bc23c97df9c1add1 (patch)
tree47fa3c6be7c5acf884767837f353ae8c2fb30577 /graphics/dia/doinst.sh
parent7af79e748cd5aae5d899f4518ff0293173c2c369 (diff)
downloadslackbuilds-a36bef798f1b669f6ed0a097bc23c97df9c1add1.tar.gz
graphics/dia: Updated for version 0.97.1 (+new maintainer)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics/dia/doinst.sh')
-rw-r--r--graphics/dia/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/dia/doinst.sh b/graphics/dia/doinst.sh
index 1f8ff67ded..9830478e8c 100644
--- a/graphics/dia/doinst.sh
+++ b/graphics/dia/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