Fixed bad expand option for openjdk versions. (#15956)
The most recent change to the openjdk package set expand=False for all versions of the package. This means only the unexpanded archive will be installed, which is not correct.
This commit is contained in:
parent
4886a2d5ef
commit
d05f25a4d0
@ -42,7 +42,7 @@ class Openjdk(Package):
|
|||||||
key = "{0}-{1}".format(platform.system(), platform.machine())
|
key = "{0}-{1}".format(platform.system(), platform.machine())
|
||||||
pkg = packages.get(key)
|
pkg = packages.get(key)
|
||||||
if pkg:
|
if pkg:
|
||||||
version(ver, sha256=pkg[0], url=pkg[1], expand=False)
|
version(ver, sha256=pkg[0], url=pkg[1])
|
||||||
|
|
||||||
provides('java@8', when='@1.8.0:1.8.999')
|
provides('java@8', when='@1.8.0:1.8.999')
|
||||||
provides('java@11', when='@11.0:11.99')
|
provides('java@11', when='@11.0:11.99')
|
||||||
|
Loading…
Reference in New Issue
Block a user