slackbuilds_ponce/misc/jmri/doinst.sh
David Spencer dadf828456 misc/jmri: Updated for version 2.14.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2011-12-31 00:25:00 -06:00

9 lines
281 B
Bash

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