aboutsummaryrefslogtreecommitdiff
path: root/misc/jmri/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/jmri/doinst.sh')
-rw-r--r--misc/jmri/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/jmri/doinst.sh b/misc/jmri/doinst.sh
new file mode 100644
index 000000000000..c65169c7082a
--- /dev/null
+++ b/misc/jmri/doinst.sh
@@ -0,0 +1,6 @@
+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
+