summarylogtreecommitdiffstats
path: root/jdk.install
diff options
context:
space:
mode:
authorDet2018-03-25 18:48:39 +0300
committerDet2018-03-25 18:48:39 +0300
commit0e3ebe95c8be5b3debd63271b61d0df7afd0726d (patch)
tree79da921bc7a7fcbc492906780159ff3c1002cdba /jdk.install
parent27967a4cf2555aa2f4ea00d9872a3c87173e3803 (diff)
downloadaur-0e3ebe95c8be5b3debd63271b61d0df7afd0726d.tar.gz
Cosmetics & future major-update automatizations
Diffstat (limited to 'jdk.install')
-rw-r--r--jdk.install5
1 files changed, 3 insertions, 2 deletions
diff --git a/jdk.install b/jdk.install
index 750c7be6245e..8c38f1ad4803 100644
--- a/jdk.install
+++ b/jdk.install
@@ -1,4 +1,5 @@
-THIS_JAVA='java-10-jdk'
+VERSION='<version>'
+THIS_JAVA='java-${VERSION}-jdk'
NAME='JDK'
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-jdk10.so).
+ (/usr/lib/mozilla/plugins/libnpjp2-jdk${VERSION}.so).
See:
- https://github.com/zealdocs/zeal/issues/802