logar/resources/scripts/logar.sh
2021-02-27 10:43:43 +01:00

10 lines
230 B
Bash
Executable file

#!/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