slackbuilds_ponce/misc/jmri/doinst.sh

10 lines
281 B
Bash
Raw Normal View History

2010-05-12 23:31:40 +02:00
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