Skip to content
Snippets Groups Projects
Commit 146d88d3 authored by Bob Mottram's avatar Bob Mottram
Browse files

Fix wget for nodejs repo key

parent 2ae9c79f
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,11 @@ function mesh_install_nodejs {
$mesh_install_nodejs_prefix apt-get -qy install wget curl g++ m4 libtool automake
$mesh_install_nodejs_prefix apt-get -yq install libxext-dev libxtst-dev libxkbfile-dev
$mesh_install_nodejs_prefix wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > /root/node.gpg.key
$mesh_install_nodejs_prefix wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O /root/node.gpg.key
if [ ! -f $rootdir/root/node.gpg.key ]; then
echo $'Unable to obtain gpg key for nodejs repo'
exit 6389252
fi
$mesh_install_nodejs_prefix apt-key add /root/node.gpg.key
echo "deb https://deb.nodesource.com/node_6.x stretch main" > $rootdir/etc/apt/sources.list.d/nodesource.list
echo "deb-src https://deb.nodesource.com/node_6.x stretch main" >> $rootdir/etc/apt/sources.list.d/nodesource.list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment