mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-09 17:28:31 +00:00
update jdk when updating crafty-controller (#15349)
This commit is contained in:
parent
49a5bfeda3
commit
ef2a840842
1 changed files with 6 additions and 0 deletions
|
|
@ -46,6 +46,12 @@ function update_script() {
|
|||
|
||||
restore_backup
|
||||
|
||||
msg_info "Updating TemurinJDK"
|
||||
setup_java
|
||||
$STD apt install -y temurin-{8,11,17,21,25}-jre
|
||||
$STD update-alternatives --set java /usr/lib/jvm/temurin-25-jre-$(arch_resolve)/bin/java
|
||||
msg_ok "Updated TemurinJDK"
|
||||
|
||||
msg_info "Updating Python dependencies"
|
||||
chown -R crafty:crafty /opt/crafty-controller
|
||||
cd /opt/crafty-controller/crafty/crafty-4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue