oracle-j{dk,re}: fix removal; remove obsolete replaces; misc improvements.

This commit is contained in:
Juan RP 2015-11-14 11:27:44 +01:00
parent 0e57ccb809
commit 087637a942
6 changed files with 8 additions and 4 deletions

View File

@ -4,7 +4,7 @@
# properly.
#
BUILD_DIR="./var/tmp/${PKGNAME}.build"
BUILD_DIR="./var/tmp/${PKGNAME}-${VERSION}.build"
do_install() {
mkdir -p "$BUILD_DIR"

View File

@ -1,6 +1,7 @@
case "$ACTION" in
pre)
. usr/lib/jvm/oracle-jdk-vars.sh
rm -rf usr/lib/jvm/jdk$ORACLE_JDK_LONG_VERSION
rm -r usr/lib/jvm/$PKGNAME
;;
esac

View File

@ -1,8 +1,9 @@
# Template file for 'oracle-jdk'
pkgname=oracle-jdk
version=8u66
revision=3
_longVersion=1.8.0_66
revision=2
_build=17
short_desc="Java Development Kit (JDK)"

View File

@ -4,7 +4,7 @@
# properly.
#
BUILD_DIR="./var/tmp/${PKGNAME}.build"
BUILD_DIR="./var/tmp/${PKGNAME}-${VERSION}.build"
do_install() {
mkdir -p "$BUILD_DIR"

View File

@ -2,5 +2,6 @@ case "$ACTION" in
pre)
. usr/lib/jvm/oracle-jre-vars.sh
rm -r usr/lib/jvm/jre$ORACLE_JRE_LONG_VERSION
rm -r usr/lib/jvm/$PKGNAME
;;
esac

View File

@ -1,8 +1,9 @@
# Template file for 'oracle-jre'
pkgname=oracle-jre
version=8u66
revision=3
_longVersion=1.8.0_66
revision=2
_build=17
short_desc="Java Runtime Environment (JRE)"