summaryrefslogtreecommitdiffstats
path: root/office/goldendict/doinst.sh
diff options
context:
space:
mode:
author Andrey Butirsky <butirsky@gmail.com>2017-03-21 23:33:44 +0000
committer David Spencer <idlemoor@slackbuilds.org>2017-03-25 00:07:32 +0000
commitfaed5dfb2e84782713938ec7b2e6a92b95f09504 (patch)
tree1d75de1a931bbbd75763a34706f7105590658e4a /office/goldendict/doinst.sh
parenta573888530a877c7492df56812fbe44677bded41 (diff)
downloadslackbuilds-faed5dfb2e84782713938ec7b2e6a92b95f09504.tar.gz
slackbuilds-faed5dfb2e84782713938ec7b2e6a92b95f09504.tar.xz
office/goldendict: Added (dictionary lookup program).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/goldendict/doinst.sh')
-rw-r--r--office/goldendict/doinst.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/office/goldendict/doinst.sh b/office/goldendict/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/office/goldendict/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi