generated from Templates/Baseline
remove deperecated NodeJs install function
All checks were successful
All checks were successful
This commit is contained in:
parent
b0fbd8edf6
commit
3b67bd8d53
17
arkanum
17
arkanum
@ -139,23 +139,6 @@ function instGoLang() {
|
||||
}
|
||||
|
||||
function instNodeJs() {
|
||||
say "Adding nodesource package source (NodeJS LTS)..." "NodeJs"
|
||||
curl -#fSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
|
||||
say "Updating package lists and installing NodeJS LTS..." "NodeJs"
|
||||
sudo -E apt-get install --no-install-recommends -y \
|
||||
nodejs
|
||||
|
||||
say "Cleaning up..." "NodeJs"
|
||||
sudo -E apt-get clean
|
||||
sudo rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
|
||||
say "done." "NodeJs"
|
||||
}
|
||||
|
||||
function instNodeJS2() {
|
||||
say "Installing NodeJS LTS via Volta..." "NodeJS"
|
||||
volta install node@lts
|
||||
say "done." "NodeJS"
|
||||
|
Loading…
Reference in New Issue
Block a user