From d066ec8d020c4471216dea3fb113e81fe0342c7b Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 2 Sep 2014 01:03:01 +0200 Subject: [PATCH] oracle-jdk: add symlink from /usr/lib/jvm/oracle-jdk to real jdk --- srcpkgs/oracle-jdk/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/oracle-jdk/template b/srcpkgs/oracle-jdk/template index c5da28f295d..92026011893 100644 --- a/srcpkgs/oracle-jdk/template +++ b/srcpkgs/oracle-jdk/template @@ -2,7 +2,7 @@ pkgname=oracle-jdk version=8u20 _longVersion=1.8.0_20 -revision=2 +revision=3 _build=26 short_desc="Java Development Kit (JDK)" @@ -65,6 +65,7 @@ do_install() { vmkdir "usr/share/licenses/${pkgname}" vlicense LICENSE + ln -s jdk${_longVersion} ${DESTDIR}/usr/lib/jvm/oracle-jdk vmkdir "etc/profile.d" vinstall 10_oracle-jdk.sh 644 "etc/profile.d"