summaryrefslogtreecommitdiff
path: root/office/ganttproject/doinst.sh
diff options
context:
space:
mode:
authorChris Abela <chris.abela@maltats.com>2010-05-13 01:00:31 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 01:00:31 +0200
commitc4a042868afe005fb4fa7be2ca2c8bda2364e7d3 (patch)
tree80eb7abc6ef0047875bd109f420cc411ac131ea5 /office/ganttproject/doinst.sh
parent058d1a6f460be9febfac1846021f74dc84d81d08 (diff)
downloadslackbuilds-c4a042868afe005fb4fa7be2ca2c8bda2364e7d3.tar.gz
office/ganttproject: Added to 13.0 repository
Diffstat (limited to 'office/ganttproject/doinst.sh')
-rw-r--r--office/ganttproject/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/office/ganttproject/doinst.sh b/office/ganttproject/doinst.sh
new file mode 100644
index 0000000000..e4e6459838
--- /dev/null
+++ b/office/ganttproject/doinst.sh
@@ -0,0 +1,8 @@
+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
+