aboutsummaryrefslogtreecommitdiff
path: root/misc/jmri/doinst.sh
blob: 50a085e0598aba8acf6fa4385062a2b588a77485 (plain)
1
2
3
4
5
6
7
8
9
if [ ! -e var/log/jmri/messages.log ]; then
  mv var/log/jmri/messages.log.new var/log/jmri/messages.log
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