diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-18 00:26:16 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-18 00:26:16 +1200 |
commit | 20916b8c2017a8c89452fb49321d826f553df9c0 (patch) | |
tree | 90cd6e12e0cab8e16867ed0ee302fa9a9285ea8d /setup/unix/setup.sh | |
parent | ef234432c20772b1eaf7fccf6bab7fa536fb47db (diff) | |
download | trackermap-server-20916b8c2017a8c89452fb49321d826f553df9c0.tar.gz trackermap-server-20916b8c2017a8c89452fb49321d826f553df9c0.tar.bz2 trackermap-server-20916b8c2017a8c89452fb49321d826f553df9c0.zip |
Move from JSW to YAJSW wrapper
Diffstat (limited to 'setup/unix/setup.sh')
-rwxr-xr-x | setup/unix/setup.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/setup/unix/setup.sh b/setup/unix/setup.sh deleted file mode 100755 index 478966ea0..000000000 --- a/setup/unix/setup.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -UNIX_PATH="/opt/traccar" - -if which java &>/dev/null -then - if [ $(java -version 2>&1 | grep -i version | sed 's/.*version "\(.*\)\.\(.*\)\..*"/\1\2/; 1q') -lt 17 ] - then - echo "Java 7 or higher required" - else - mkdir -p $UNIX_PATH - cp -rf * $UNIX_PATH - chmod -R go+rX $UNIX_PATH - $UNIX_PATH/bin/traccar install - rm $UNIX_PATH/setup.sh - fi -else - echo "Java runtime is required" -fi |