mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 03:40:03 +00:00
Several Scripts: Bump NodeJS to align Node.js versions with upstream for 5 scripts (#13875)
* fix(node): align Node.js versions with upstream for 5 scripts Update scripts where upstream requires a newer Node.js version: - iobroker: 22 → 24 (upstream .nvmrc) - kima-hub: 20 → 22 (upstream Dockerfile) - myip: 22 → 24 (upstream Dockerfile) - outline: 22 → 24 (upstream Dockerfile) - shelfmark: 22 → 24 (upstream Dockerfile) Skipped 15 scripts where our version is already newer than upstream. Ref: community-scripts/ProxmoxVE#13870 * fix(node): add setup_nodejs to update scripts for iobroker, kima-hub, myip These three scripts had NODE_VERSION in install but not in update, so running an update would not upgrade Node.js to the correct version. - iobroker: add NODE_VERSION=24 - kima-hub: add NODE_VERSION=22 - myip: add NODE_VERSION=24
This commit is contained in:
parent
7e5e5be161
commit
bd3fbb3999
10 changed files with 14 additions and 7 deletions
|
|
@ -27,6 +27,9 @@ function update_script() {
|
|||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
|
||||
msg_info "Updating ${APP} LXC"
|
||||
$STD apt update
|
||||
$STD apt -y upgrade
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@ function update_script() {
|
|||
exit
|
||||
fi
|
||||
|
||||
NODE_VERSION="22" setup_nodejs
|
||||
|
||||
if check_for_gh_release "kima-hub" "Chevron7Locked/kima-hub"; then
|
||||
msg_info "Stopping Services"
|
||||
systemctl stop kima-frontend kima-backend kima-analyzer kima-analyzer-clap
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@ function update_script() {
|
|||
exit
|
||||
fi
|
||||
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
|
||||
if check_for_gh_release "myip" "jason5ng32/MyIP"; then
|
||||
msg_info "Stopping Services"
|
||||
systemctl stop myip
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ function update_script() {
|
|||
exit
|
||||
fi
|
||||
|
||||
NODE_VERSION="22" setup_nodejs
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
|
||||
if check_for_gh_release "outline" "outline/outline"; then
|
||||
msg_info "Stopping Services"
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ function update_script() {
|
|||
exit
|
||||
fi
|
||||
|
||||
NODE_VERSION="22" setup_nodejs
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
|
||||
if check_for_gh_release "shelfmark" "calibrain/shelfmark"; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue