oracle-jre: add symlink from /usr/lib/jvm/oracle-jre to real jre

This commit is contained in:
Enno Boland 2014-09-02 01:04:02 +02:00
parent d066ec8d02
commit cce1dfc664
1 changed files with 2 additions and 1 deletions

View File

@ -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