1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-24 08:52:18 +02:00

Update scrypted-install.sh

node.js v20
This commit is contained in:
tteckster 2024-01-23 04:37:38 -05:00 committed by GitHub
parent edd6eacdd3
commit c1bd8facd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,13 +68,12 @@ msg_ok "Installed GStreamer"
msg_info "Setting up Node.js Repository"
mkdir -p /etc/apt/keyrings
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
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
msg_ok "Set up Node.js Repository"
msg_info "Installing Node.js/npm"
$STD apt-get update
$STD apt-get install -y nodejs
$STD apt-get install -y npm
msg_ok "Installed Node.js/npm"
msg_info "Updating Python3"