aboutsummaryrefslogtreecommitdiff
path: root/misc/stardict/doinst.sh
diff options
context:
space:
mode:
authorMurat D. Kadirov <banderols@gmail.com>2010-05-13 00:59:31 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:59:31 +0200
commitfdce8ff1dea79e75c352d16543b6fad7def7f93d (patch)
tree6a796ab91c3e591fd5d3ad080207f018d1bfd6b4 /misc/stardict/doinst.sh
parentd3e1aa8a96374177e851e31e38278d8a8e38d366 (diff)
misc/stardict: Added to 13.0 repository
Diffstat (limited to 'misc/stardict/doinst.sh')
-rw-r--r--misc/stardict/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/stardict/doinst.sh b/misc/stardict/doinst.sh
new file mode 100644
index 0000000000000..e4e6459838cbf
--- /dev/null
+++ b/misc/stardict/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
+