oracle-jre: fix deinstallation; conflicts with oracle-jdk.
This commit is contained in:
parent
229525645a
commit
b4ccebe480
|
@ -1,6 +1,6 @@
|
||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
pre)
|
pre)
|
||||||
. usr/share/java/oracle-jre-vars.sh
|
. usr/share/java/oracle-jre-vars.sh
|
||||||
rm -r usr/lib/java/$PKGNAME
|
rm -r usr/share/java/$PKGNAME
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
pkgname=oracle-jre
|
pkgname=oracle-jre
|
||||||
version=8u5
|
version=8u5
|
||||||
_longVersion=1.8.0_05
|
_longVersion=1.8.0_05
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="Java Runtime Environment (JRE)"
|
short_desc="Java Runtime Environment (JRE)"
|
||||||
maintainer="Enno Boland <eb@s01.de>"
|
maintainer="Enno Boland <eb@s01.de>"
|
||||||
homepage="http://www.oracle.com/technetwork/java/javase/downloads/index.html"
|
homepage="http://www.oracle.com/technetwork/java/javase/downloads/index.html"
|
||||||
|
@ -14,6 +14,7 @@ depends="hicolor-icon-theme desktop-file-utils xdg-utils shared-mime-info wget"
|
||||||
hostmakedepends="wget"
|
hostmakedepends="wget"
|
||||||
provides="java-runtime-${version}_1"
|
provides="java-runtime-${version}_1"
|
||||||
replaces="java-runtime>=0"
|
replaces="java-runtime>=0"
|
||||||
|
conflicts="oracle-jdk>=0"
|
||||||
|
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
x86_64)
|
x86_64)
|
||||||
|
|
Loading…
Reference in New Issue