Update changedetection-install.sh

new nodejs install method
fixes https://github.com/tteck/Proxmox/issues/1748
pull/1750/head
tteckster 1 year ago committed by GitHub
parent a70b14072e
commit 49662ddd3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,7 +41,9 @@ $STD apt-get install -y \
libpangocairo-1.0-0 \
qpdf \
xdg-utils \
xvfb
xvfb \
ca-certificates \
gnupg
msg_ok "Installed Dependencies"
msg_info "Updating Python3"
@ -52,10 +54,12 @@ $STD apt-get install -y \
msg_ok "Updated Python3"
msg_info "Setting up Node.js Repository"
$STD bash <(curl -fsSL https://deb.nodesource.com/setup_18.x)
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
msg_ok "Set up Node.js Repository"
msg_info "Installing Node.js"
$STD apt-get update
$STD apt-get install -y nodejs
msg_ok "Installed Node.js"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.