mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
openjdk8: bring back oracle-jre as a transitional package
removed in 46371e7636
prevents this old, removed package from borking the new alternatives groups
introduced in #47866 by replacing it if a user has this installed and
selected as the alternative for the java group, it can make the profile
script not run because /usr/lib/jvm/default-jre doesn't exist.
This commit is contained in:
parent
620c453cac
commit
8f85eae440
2 changed files with 8 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'openjdk8'
|
# Template file for 'openjdk8'
|
||||||
pkgname=openjdk8
|
pkgname=openjdk8
|
||||||
version=8u332b05
|
version=8u332b05
|
||||||
revision=1
|
revision=2
|
||||||
_jdk_update="${version#*u}"
|
_jdk_update="${version#*u}"
|
||||||
_jdk_update="${_jdk_update%b*}"
|
_jdk_update="${_jdk_update%b*}"
|
||||||
_jdk_build="${version#*b}"
|
_jdk_build="${version#*b}"
|
||||||
|
@ -205,3 +205,9 @@ openjdk8-doc_package() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
oracle-jre_package() {
|
||||||
|
depends="openjdk8-jre>=${version}_${revision}"
|
||||||
|
short_desc="Java Runtime Environment (transitional dummy package)"
|
||||||
|
build_style=meta
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/oracle-jre
Symbolic link
1
srcpkgs/oracle-jre
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
openjdk8
|
Loading…
Add table
Reference in a new issue