logar/resources/scripts/logar.sh

11 lines
231 B
Bash
Raw Permalink Normal View History

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