oracle-jdk: add symlink from /usr/lib/jvm/oracle-jdk to real jdk
This commit is contained in:
parent
99b94afd27
commit
d066ec8d02
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue