summarylogtreecommitdiffstats
path: root/jre.install
diff options
context:
space:
mode:
Diffstat (limited to 'jre.install')
-rw-r--r--jre.install5
1 files changed, 3 insertions, 2 deletions
diff --git a/jre.install b/jre.install
index 9fa600120c70..25f98a8d2a24 100644
--- a/jre.install
+++ b/jre.install
@@ -1,4 +1,5 @@
-THIS_JAVA='java-10-jre/jre'
+VERSION='<version>'
+THIS_JAVA='java-${VERSION}-jre/jre'
NAME='JRE'
all_off="$(tput sgr0)"
@@ -39,7 +40,7 @@ post_install() {
note2 "Since Oracle Java 9, some Qt 5 applications (such as the reader apps Zeal and
GoldenDict) will crash due to the existance of the Java NPAPI plugin symlink
- (/usr/lib/mozilla/plugins/libnpjp2-jre10.so).
+ (/usr/lib/mozilla/plugins/libnpjp2-jre${VERSION}.so).
See:
- https://github.com/zealdocs/zeal/issues/802