Skip to content

Commit

Permalink
reverted to https://deb.nodesource.com/ installation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Jan 6, 2024
1 parent 0f79d24 commit ad4a8bf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions installation/routines/setup_jukebox_webapp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ _jukebox_webapp_install_node() {
else
sudo apt-get remove -y nodejs
# install NodeJS as recommended in
# https://github.com/nodesource/distributions
curl -fsSL https://deb.nodesource.com/setup_${NODE_MAJOR}.x | sudo bash - &&\
sudo apt-get install -y nodejs
# https://deb.nodesource.com/
sudo apt-get update && sudo apt-get install -y ca-certificates curl gnupg
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo apt-get -y update && sudo apt-get -y install nodejs
fi
fi
}
Expand Down

0 comments on commit ad4a8bf

Please sign in to comment.