nodejs 8 lts repo added

This commit is contained in:
Francois B 2018-03-19 06:21:46 +01:00
parent 188866eca4
commit e16ff94aa9
2 changed files with 13 additions and 8 deletions

View file

@ -595,13 +595,6 @@ function installJava9Menu () {
installAppsFromListMenu java9
}
#TODO:
function installNode8LTS () {
msg "Installing NodeJS 8 LTS"
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - &>> $logFile && retCode $? && smsgn "Adding Node repository"
runCmd "sudo apt-get install -y nodejs"; smsgn "Installing nodejs"
}
#
# install Mongo DB 3 CE (headless)
#

View file

@ -354,6 +354,7 @@ beautysh;pip;dev;beautys
retext;pip;dev;retext
mycli;pip;dev;mycli
npm;apt;javascript;npm
nodejs;apt;javascript;nodejs8lts
javascript-common;apt;javascript;javascript-common
yarn;npm;javascript;yarn
jshint;npm;javascript;jshint
@ -439,7 +440,18 @@ nextcloud-client;addRepo_NextCloud
wireshark;addRepo_WireShark
darktable;addRepo_DarkTable
brackets;addRepo_Brackets
kicad;addRepo_Kicad"
kicad;addRepo_Kicad
nodejs8lts;addRepo_NodeLts8"
#
# Node 8 LTS
#
function addRepo_NodeLts8 () {
addKey "https://deb.nodesource.com/gpgkey/nodesource.gpg.key"
addRepo "nodesource.list" \
"deb https://deb.nodesource.com/node_8.x xenial main" \
"deb-src https://deb.nodesource.com/node_8.x xenial main"
}
#
# Kicad 4