mirror of https://github.com/tteck/Proxmox.git
Update changedetection-install.sh
new nodejs install method fixes https://github.com/tteck/Proxmox/issues/1748
This commit is contained in:
parent
a70b14072e
commit
49662ddd3d
|
@ -41,7 +41,9 @@ $STD apt-get install -y \
|
||||||
libpangocairo-1.0-0 \
|
libpangocairo-1.0-0 \
|
||||||
qpdf \
|
qpdf \
|
||||||
xdg-utils \
|
xdg-utils \
|
||||||
xvfb
|
xvfb \
|
||||||
|
ca-certificates \
|
||||||
|
gnupg
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Updating Python3"
|
msg_info "Updating Python3"
|
||||||
|
@ -52,10 +54,12 @@ $STD apt-get install -y \
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Setting up Node.js Repository"
|
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_ok "Set up Node.js Repository"
|
||||||
|
|
||||||
msg_info "Installing Node.js"
|
msg_info "Installing Node.js"
|
||||||
|
$STD apt-get update
|
||||||
$STD apt-get install -y nodejs
|
$STD apt-get install -y nodejs
|
||||||
msg_ok "Installed Node.js"
|
msg_ok "Installed Node.js"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue