summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-07-23 14:47:09 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-07-23 14:47:27 -0700
commit5ef1a6637b395dc1d1b52375df1563059e5f83a1 (patch)
treed29acb009a15d4ce1ab0242ee6d4084b86e373ed /dev-java
parentdev-java/openjdk-bin: provide opt symlink for openjdk-bin:8 (diff)
downloadgentoo-5ef1a6637b395dc1d1b52375df1563059e5f83a1.tar.gz
gentoo-5ef1a6637b395dc1d1b52375df1563059e5f83a1.tar.bz2
gentoo-5ef1a6637b395dc1d1b52375df1563059e5f83a1.zip
dev-java/openjdk-jre-bin: provide stable symlink in 8
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/openjdk-jre-bin/openjdk-jre-bin-8.292_p10.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-java/openjdk-jre-bin/openjdk-jre-bin-8.292_p10.ebuild b/dev-java/openjdk-jre-bin/openjdk-jre-bin-8.292_p10.ebuild
index acb70caacff7..49dddf130391 100644
--- a/dev-java/openjdk-jre-bin/openjdk-jre-bin-8.292_p10.ebuild
+++ b/dev-java/openjdk-jre-bin/openjdk-jre-bin-8.292_p10.ebuild
@@ -73,6 +73,9 @@ src_install() {
dodir "${dest}"
cp -pPR * "${ddest}" || die
+ # provide stable symlink
+ dosym "${P}" "/opt/${PN}-${SLOT}"
+
java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
java-vm_set-pax-markings "${ddest}"
java-vm_revdep-mask