summaryrefslogtreecommitdiff
path: root/office/tellico/doinst.sh
diff options
context:
space:
mode:
authorGilcio Amaral <gilcio.amaral@gmail.com>2010-05-13 00:39:28 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:39:28 +0200
commit6fdc8e28a7f3fdc478572aa19f172b0efdcce036 (patch)
tree8bca7e817129c364bf19c351708d20d836563cfb /office/tellico/doinst.sh
parentead173c3c1558934ad3797500f5536ff7bb49d9b (diff)
downloadslackbuilds-6fdc8e28a7f3fdc478572aa19f172b0efdcce036.tar.gz
office/tellico: Updated for version 2.1.1
Diffstat (limited to 'office/tellico/doinst.sh')
-rw-r--r--office/tellico/doinst.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/office/tellico/doinst.sh b/office/tellico/doinst.sh
index 854e20633d..69d003d68b 100644
--- a/office/tellico/doinst.sh
+++ b/office/tellico/doinst.sh
@@ -1,3 +1,13 @@
if [ -x /usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database -q usr/share/applications
+ /usr/bin/update-desktop-database -q usr/share/applications
+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