diff options
author | Andrei Belov <defan@nginx.com> | 2021-10-21 13:23:25 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2021-10-21 13:23:25 +0300 |
commit | 0900edb10d6def65dd6482d9ed3c596eb5305b3f (patch) | |
tree | 4d6814dcb78de589a33e6d04a9e3b09e954bb655 /pkg/deb/Makefile.jsc-common | |
parent | 314ca5c8c9f9bb66e69278d84ab6d1b00b5b3599 (diff) | |
download | unit-0900edb10d6def65dd6482d9ed3c596eb5305b3f.tar.gz unit-0900edb10d6def65dd6482d9ed3c596eb5305b3f.tar.bz2 |
Packages: added Ubuntu 21.10 "impish" support.
Diffstat (limited to '')
-rw-r--r-- | pkg/deb/Makefile.jsc-common | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/deb/Makefile.jsc-common b/pkg/deb/Makefile.jsc-common index 5f727124..42b452b2 100644 --- a/pkg/deb/Makefile.jsc-common +++ b/pkg/deb/Makefile.jsc-common @@ -6,10 +6,10 @@ MODULE_SUMMARY_jsc_common= Java shared packages for NGINX Unit MODULE_VERSION_jsc_common= $(VERSION) MODULE_RELEASE_jsc_common= 1 -ifneq (,$(findstring $(CODENAME),hirsute groovy focal eoan disco buster bullseye)) -JAVA_MINVERSION= 11 -else +ifneq (,$(findstring $(CODENAME),stretch xenial bionic)) JAVA_MINVERSION= 8 +else +JAVA_MINVERSION= 11 endif MODULE_CONFARGS_jsc_common= java --home=/usr/lib/jvm/java-$(JAVA_MINVERSION)-openjdk-$$\(DEB_HOST_ARCH\) --jars=/usr/share/unit-jsc-common/ |