File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ JV=` java -version 2>&1 > /dev/null | head -1`
4+ echo $JV | sed -E ' s/^.*version "([^".]*)\.[^"]*".*$/\1/'
5+
6+ if [ " $JV " != 16 ]; then
7+ case " $1 " in
8+ install)
9+ echo " Installing SDKMAN..."
10+ curl -s " https://get.sdkman.io" | bash
11+ source ~ /.sdkman/bin/sdkman-init.sh
12+ sdk version
13+ sdk install java 16.0.2-open
14+ ;;
15+ use)
16+ echo " must source ~/.sdkman/bin/sdkman-init.sh"
17+ exit 1
18+ ;;
19+ esac
20+ fi
Original file line number Diff line number Diff line change 66 <name >ChatEx</name >
77 <inceptionYear >2022</inceptionYear >
88
9- <version >2.9.5 </version >
9+ <version >2.9.6 </version >
1010 <description >ChatManagement plugin for Bukkit</description >
1111 <url >https://www.spigotmc.org/resources/chatex-continued.71041/</url >
1212
You can’t perform that action at this time.
0 commit comments