Commit 9c48be16 authored by Simon F's avatar Simon F Committed by Kevin Daudt
Browse files

community/openjdk8: fix upgrade issues with symlink

caused by !15085
parent d16d0cf0
......@@ -6,7 +6,7 @@ _icedteaver=3.17.0
# pkgver is <JDK version>.<JDK update>.<JDK build>
# Check https://icedtea.classpath.org/wiki/Main_Page when updating!
pkgver=8.272.10
pkgrel=3
pkgrel=4
pkgdesc="OpenJDK 8 provided by IcedTea"
url="https://icedtea.classpath.org/"
# no bootstrap JDK on mips
......@@ -68,7 +68,7 @@ x86|x86_64|aarch64)
esac
_bootstrap_java_home="/usr/lib/jvm/java-1.7-openjdk"
_java_home="/usr/lib/jvm/java-8-openjdk"
_java_home="/usr/lib/jvm/java-1.8-openjdk"
_jrelib="$_java_home/jre/lib/$_jarch"
# Exclude xawt from ldpath to avoid duplicate provides for libmawt.so
......@@ -348,7 +348,7 @@ jrebase() {
mkdir -p "$subpkgdir"/$_java_home/bin \
"$subpkgdir"/$_java_home/lib/$_jarch
ln -s java-8-openjdk "$subpkgdir"/usr/lib/jvm/java-1.8-openjdk
ln -s java-1.8-openjdk "$subpkgdir"/usr/lib/jvm/java-8-openjdk
mv "$pkgdir"/$_java_home/lib/$_jarch/jli \
"$subpkgdir"/$_java_home/lib/$_jarch/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment