oracle-jre: add symlink from /usr/lib/jvm/oracle-jre to real jre
This commit is contained in:
parent
d066ec8d02
commit
cce1dfc664
|
@ -3,7 +3,7 @@ pkgname=oracle-jre
|
|||
version=8u20
|
||||
_longVersion=1.8.0_20
|
||||
_build=26
|
||||
revision=2
|
||||
revision=3
|
||||
short_desc="Java Runtime Environment (JRE)"
|
||||
maintainer="Enno Boland <eb@s01.de>"
|
||||
homepage="http://www.oracle.com/technetwork/java/javase/downloads/index.html"
|
||||
|
@ -64,6 +64,7 @@ do_install() {
|
|||
|
||||
vinstall LICENSE 644 "usr/share/licenses/${pkgname}"
|
||||
vinstall java-policy-settings.desktop 644 usr/share/applications
|
||||
ln -s jre${_longVersion} ${DESTDIR}/usr/lib/jvm/oracle-jre
|
||||
|
||||
for i in 16 20 22 24 32 40 48 64 72 96 128 256 512; do
|
||||
vinstall $FILESDIR/oracle-jre-${i}x${i}.png 644 usr/share/icons/hicolor/${i}x${i}/apps oracle-java.png
|
||||
|
|
Loading…
Reference in New Issue