fix(the-lounge): install Node.js 22 before deb package

The Lounge v4.5.0 requires nodejs (>= 22.13.0), which is not available from Debian 13 default repos. Install Node.js 22 via NodeSource before deploying the thelounge-deb package in both install and update scripts.
This commit is contained in:
Michel Roegl-Brunner
2026-05-22 12:42:13 +02:00
parent 5f0914d32c
commit 14cc064e8c
2 changed files with 2 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ function update_script() {
systemctl stop thelounge
msg_ok "Stopped Service"
NODE_VERSION="22" setup_nodejs
fetch_and_deploy_gh_release "thelounge" "thelounge/thelounge-deb" "binary"
msg_info "Starting Service"

View File

@@ -13,6 +13,7 @@ setting_up_container
network_check
update_os
NODE_VERSION="22" setup_nodejs
fetch_and_deploy_gh_release "thelounge" "thelounge/thelounge-deb" "binary"
systemctl enable -q --now thelounge