Skip to content

Commit

Permalink
openjdk8: bring back oracle-jre as a transitional package
Browse files Browse the repository at this point in the history
removed in 46371e7

prevents this old, removed package from borking the new alternatives groups
introduced in #47866 by replacing it if a user has this installed and
selected as the alternative for the java group, it can make the profile
script not run because /usr/lib/jvm/default-jre doesn't exist.
  • Loading branch information
classabbyamp committed Dec 31, 2023
1 parent 620c453 commit 8f85eae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion srcpkgs/openjdk8/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'openjdk8'
pkgname=openjdk8
version=8u332b05
revision=1
revision=2
_jdk_update="${version#*u}"
_jdk_update="${_jdk_update%b*}"
_jdk_build="${version#*b}"
Expand Down Expand Up @@ -205,3 +205,9 @@ openjdk8-doc_package() {
fi
}
}

oracle-jre_package() {
depends="openjdk8-jre>=${version}_${revision}"
short_desc="Java Runtime Environment (transitional dummy package)"
build_style=meta
}
1 change: 1 addition & 0 deletions srcpkgs/oracle-jre

0 comments on commit 8f85eae

Please sign in to comment.