logar/resources/scripts/logar.sh

11 lines
230 B
Bash
Raw Normal View History

2021-02-27 05:08:26 +01:00
#!/bin/bash
# Java check.
javaCheck=`which java`
if [[ "$javaCheck" =~ ^/.* ]]; then
echo "Java requirement............... OK"
java -jar "$(dirname "$0")"/logar.jar $@
else
echo "Java requirement............... MISSING"
fi