diff --git a/srcpkgs/oracle-jdk/template b/srcpkgs/oracle-jdk/template index b82df6d2b3b..351cb27efa8 100644 --- a/srcpkgs/oracle-jdk/template +++ b/srcpkgs/oracle-jdk/template @@ -16,6 +16,7 @@ depends="hicolor-icon-theme desktop-file-utils xdg-utils shared-mime-info wget" hostmakedepends="wget" provides="java-environment-${version}_1" replaces="java-environment>=0" +update_pattern=">Java SE \K[^<]+(?=<)" case "${XBPS_TARGET_MACHINE}" in x86_64)