aboutsummaryrefslogtreecommitdiff
path: root/misc/jmri/doinst.sh
diff options
context:
space:
mode:
authorDavid Spencer <nobbutl@yahoo.co.uk>2010-05-12 23:31:40 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:31:40 +0200
commit7552e9511b582fbb5621804eb423f7a4cf307f48 (patch)
tree74226d005ac3ab629054a5c2cbbcfff7cc00662e /misc/jmri/doinst.sh
parent8c4a8b943f616b9ac217c9520d71ce6fef35fd67 (diff)
misc/jmri: Added to 12.2 repository
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 0000000000000..c65169c7082ab
--- /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
+