summarylogtreecommitdiffstats
path: root/jre.install
diff options
context:
space:
mode:
authorDet2018-03-25 18:49:09 +0300
committerDet2018-03-25 18:49:09 +0300
commita86c8ddba261d7160de976b6529c10e76d4a31d1 (patch)
tree9235299bf431581d5194fc693468a8198351a105 /jre.install
parenta7e52325d341f64307e11d51d0b11f546bb78a47 (diff)
downloadaur-a86c8ddba261d7160de976b6529c10e76d4a31d1.tar.gz
Cosmetics & future major-update automatizations
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