summarylogtreecommitdiffstats
path: root/tachidesk-jui.sh
diff options
context:
space:
mode:
authorMahor Foruzesh2022-01-25 13:34:15 +0330
committerMahor Foruzesh2022-01-25 13:34:15 +0330
commit8e647d42c151e5488c53ef9a3c3a33d3f7bdd912 (patch)
tree82b2c07e5c918db2f69c948c60dd98c0904e5cd1 /tachidesk-jui.sh
parent898dcb106e3f7b082e89a8477177a8be91d16fdd (diff)
downloadaur-8e647d42c151e5488c53ef9a3c3a33d3f7bdd912.tar.gz
Update tachidesk-jui.sh
Diffstat (limited to 'tachidesk-jui.sh')
-rw-r--r--tachidesk-jui.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tachidesk-jui.sh b/tachidesk-jui.sh
index f458dfba885e..9fb03173952d 100644
--- a/tachidesk-jui.sh
+++ b/tachidesk-jui.sh
@@ -1,9 +1,9 @@
#!/bin/sh
-java=$(archlinux-java status | awk -F '-' 'NR>1 { gsub(/ /,""); gsub("\\(default)",""); if($2 >= 15) print }' | head -n1)
+java=$(archlinux-java status | awk -F '-' 'NR>1 { gsub(/ /,""); gsub("\\(default)",""); if($2 >= 17) print }' | head -n1)
if [ "$java" = "" ]; then
- echo "no java >= 15 installation found! please intall one."
+ echo "no java >= 17 installation found! please intall one."
exit 1
fi