Revert nodejs versions, otherwise ghost won't install
This commit is contained in:
parent
936458b182
commit
6b74243de2
|
@ -35,9 +35,9 @@ VARIANTS='mesh'
|
||||||
|
|
||||||
# change these versions at your peril. Things will often crash if you don't
|
# change these versions at your peril. Things will often crash if you don't
|
||||||
# have specifically the correct versions
|
# have specifically the correct versions
|
||||||
NODEJS_VERSION='7.10.0'
|
NODEJS_VERSION='6.10.1'
|
||||||
NODEJS_N_VERSION='2.1.7'
|
NODEJS_N_VERSION='2.1.7'
|
||||||
NPM_VERSION='4.2.0'
|
NPM_VERSION='4.0.5'
|
||||||
|
|
||||||
# This file keeps track of the apps needing nodejs
|
# This file keeps track of the apps needing nodejs
|
||||||
# so that it can be removed if tere are no apps which need it
|
# so that it can be removed if tere are no apps which need it
|
||||||
|
@ -47,8 +47,8 @@ function mesh_install_nodejs {
|
||||||
# Note: this has to be jessie for now
|
# Note: this has to be jessie for now
|
||||||
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > ${rootdir}/root/node.gpg.key
|
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > ${rootdir}/root/node.gpg.key
|
||||||
chroot "${rootdir}" apt-key add /root/node.gpg.key
|
chroot "${rootdir}" apt-key add /root/node.gpg.key
|
||||||
echo "deb https://deb.nodesource.com/node_7.x jessie main" > ${rootdir}/etc/apt/sources.list.d/nodesource.list
|
echo "deb https://deb.nodesource.com/node_6.x jessie main" > ${rootdir}/etc/apt/sources.list.d/nodesource.list
|
||||||
echo "deb-src https://deb.nodesource.com/node_7.x jessie main" >> ${rootdir}/etc/apt/sources.list.d/nodesource.list
|
echo "deb-src https://deb.nodesource.com/node_6.x jessie main" >> ${rootdir}/etc/apt/sources.list.d/nodesource.list
|
||||||
chroot "${rootdir}" apt-get update
|
chroot "${rootdir}" apt-get update
|
||||||
chroot "${rootdir}" apt-get -yq install nodejs curl
|
chroot "${rootdir}" apt-get -yq install nodejs curl
|
||||||
|
|
||||||
|
@ -152,8 +152,8 @@ function install_nodejs {
|
||||||
# Note: this has to be jessie for now
|
# Note: this has to be jessie for now
|
||||||
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > /root/node.gpg.key
|
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > /root/node.gpg.key
|
||||||
apt-key add /root/node.gpg.key
|
apt-key add /root/node.gpg.key
|
||||||
echo "deb https://deb.nodesource.com/node_7.x jessie main" > /etc/apt/sources.list.d/nodesource.list
|
echo "deb https://deb.nodesource.com/node_6.x jessie main" > /etc/apt/sources.list.d/nodesource.list
|
||||||
echo "deb-src https://deb.nodesource.com/node_7.x jessie main" >> /etc/apt/sources.list.d/nodesource.list
|
echo "deb-src https://deb.nodesource.com/node_6.x jessie main" >> /etc/apt/sources.list.d/nodesource.list
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue