extra/java7-openjdk to 7.u65_2.5.2-2

This commit is contained in:
Kevin Mihelich 2014-09-15 21:54:58 +00:00
parent 8516194c52
commit eb26b3d69e
3 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ _JDK_UPDATE_VERSION=65
_bootstrap=0 # 0/1 for quick build or full bootstrap _bootstrap=0 # 0/1 for quick build or full bootstrap
pkgver=${_java_ver}.u${_JDK_UPDATE_VERSION}_${_icedtea_ver} pkgver=${_java_ver}.u${_JDK_UPDATE_VERSION}_${_icedtea_ver}
pkgrel=1 pkgrel=2
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='http://icedtea.classpath.org' url='http://icedtea.classpath.org'
license=('custom') license=('custom')

View file

@ -13,7 +13,7 @@ post_install() {
fi fi
if [ ! -f /etc/ssl/certs/java/cacerts ]; then if [ ! -f /etc/ssl/certs/java/cacerts ]; then
JAVA_HOME=/usr/lib/jvm/java-default-runtime /usr/bin/init-jks-keystore JAVA_HOME=/usr/lib/jvm/${this_java} /usr/bin/init-jks-keystore
fi fi
} }
@ -26,7 +26,7 @@ post_upgrade() {
fi fi
if [ ! -f /etc/ssl/certs/java/cacerts ]; then if [ ! -f /etc/ssl/certs/java/cacerts ]; then
JAVA_HOME=/usr/lib/jvm/java-default-runtime /usr/bin/init-jks-keystore JAVA_HOME=/usr/lib/jvm/${this_java} /usr/bin/init-jks-keystore
fi fi
} }

View file

@ -15,7 +15,7 @@ post_install() {
if [ ! -f /etc/ssl/certs/java/cacerts ]; then if [ ! -f /etc/ssl/certs/java/cacerts ]; then
# Overwrite JAVA_HOME because if it still points at java-7-openjdk AND user just removed jdk, # Overwrite JAVA_HOME because if it still points at java-7-openjdk AND user just removed jdk,
# Then /usr/bin/java will in the end, refer to /usr/lib/jvm/java-7-openjdk/java which doesn't exist # Then /usr/bin/java will in the end, refer to /usr/lib/jvm/java-7-openjdk/java which doesn't exist
JAVA_HOME=/usr/lib/jvm/java-default-runtime /usr/bin/init-jks-keystore JAVA_HOME=/usr/lib/jvm/${this_java} /usr/bin/init-jks-keystore
fi fi
} }
@ -28,7 +28,7 @@ post_upgrade() {
fi fi
if [ ! -f /etc/ssl/certs/java/cacerts ]; then if [ ! -f /etc/ssl/certs/java/cacerts ]; then
JAVA_HOME=/usr/lib/jvm/java-default-runtime /usr/bin/init-jks-keystore JAVA_HOME=/usr/lib/jvm/${this_java} /usr/bin/init-jks-keystore
fi fi
} }