hsscript and java17
This commit is contained in:
parent
3140a373a1
commit
39aee47937
@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/
|
||||
getconf LONG_BIT | grep 32 >/dev/null && JAVA_HOME=/usr/lib/jvm/java-11-openjdk-i386/
|
||||
JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
|
||||
ls /usr/lib/jvm/java-11-openjdk-amd64 >/dev/null 2>&1 && JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
|
||||
JAVA=$JAVA_HOME/bin/java
|
||||
JVM_ARGS="-Dnashorn.args=--no-deprecation-warning"
|
||||
exec $JAVA $JVM_ARGS -jar /usr/local/lib/hostsharing/hsadmin/hsscript-full.jar "$@"
|
||||
exec $JAVA $JVM_ARGS -jar /usr/local/lib/hostsharing/hsadmin/hsscript-full.jar "$@"
|
@ -3,7 +3,7 @@ Version: [[version]]
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: default-jre
|
||||
Depends: openjdk-11-jre | openjdk-17-jre
|
||||
Maintainer: Peter Hormanns <peter.hormanns@hostsharing.net>
|
||||
Description: hostsharing command and scripting shell
|
||||
Distribution: hostsharing
|
Loading…
Reference in New Issue
Block a user