mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
dadf828456
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
9 lines
281 B
Bash
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
|