summaryrefslogtreecommitdiff
path: root/misc/jmri/doinst.sh
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2011-12-29 20:12:27 -0200
committerRobby Workman <rworkman@slackbuilds.org>2011-12-31 00:25:00 -0600
commitdadf828456f72979a5a7a17d955ffe028bf7bbb0 (patch)
treeab79f0e1963285c7409e03c60b64d561fa81ee0b /misc/jmri/doinst.sh
parent2959a402dac515d6ddb154f5eeb3150f1a6971c9 (diff)
downloadslackbuilds-dadf828456f72979a5a7a17d955ffe028bf7bbb0.tar.gz
misc/jmri: Updated for version 2.14.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'misc/jmri/doinst.sh')
-rw-r--r--misc/jmri/doinst.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/jmri/doinst.sh b/misc/jmri/doinst.sh
index c65169c708..50a085e059 100644
--- a/misc/jmri/doinst.sh
+++ b/misc/jmri/doinst.sh
@@ -4,3 +4,6 @@ else
rm -f var/log/jmri/messages.log.new
fi
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi