Use proper NodeJS distro for CrisisCleanup and GNU Health

This commit is contained in:
Disassembler 2017-12-11 14:00:38 +01:00
parent f4e76c340a
commit de3047ed64
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ SOURCE_DIR=$(realpath $(dirname "${0}"))/crisiscleanup
# Add NodeJS + Yarn repositories # Add NodeJS + Yarn repositories
wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O - | apt-key add - wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O - | apt-key add -
wget https://dl.yarnpkg.com/debian/pubkey.gpg -O - | apt-key add - wget https://dl.yarnpkg.com/debian/pubkey.gpg -O - | apt-key add -
echo 'deb https://deb.nodesource.com/node_8.x xenial main' > /etc/apt/sources.list.d/nodejs.list echo 'deb https://deb.nodesource.com/node_8.x stretch main' > /etc/apt/sources.list.d/nodejs.list
echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list
apt-get -y update apt-get -y update

View File

@ -7,7 +7,7 @@ apt-get -y --no-install-recommends install python3 python3-virtualenv virtualenv
# Add NodeJS repository for Sao (Tryton web client) # Add NodeJS repository for Sao (Tryton web client)
wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O - | apt-key add - wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O - | apt-key add -
echo 'deb https://deb.nodesource.com/node_8.x xenial main' > /etc/apt/sources.list.d/nodejs.list echo 'deb https://deb.nodesource.com/node_8.x stretch main' > /etc/apt/sources.list.d/nodejs.list
apt-get -y update apt-get -y update
# Install dependencies for Sao (Tryton web client) # Install dependencies for Sao (Tryton web client)