Skip to content
Snippets Groups Projects
Commit 13d08419 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

fix(build): NodeJS requires HTTPS to be downloaded

parent 8903cadc
Branches
Tags
No related merge requests found
...@@ -55,7 +55,7 @@ echo "DebianVer: $DUNITER_DEB_VER" ...@@ -55,7 +55,7 @@ echo "DebianVer: $DUNITER_DEB_VER"
if [ ! -f "$DOWNLOADS/node-${NVER}-linux-${ARCH}.tar.gz" ]; then if [ ! -f "$DOWNLOADS/node-${NVER}-linux-${ARCH}.tar.gz" ]; then
# Download Node.js and package it with the sources # Download Node.js and package it with the sources
wget http://nodejs.org/dist/${NVER}/node-${NVER}-linux-${ARCH}.tar.gz wget https://nodejs.org/dist/${NVER}/node-${NVER}-linux-${ARCH}.tar.gz
tar xzf node-${NVER}-linux-${ARCH}.tar.gz tar xzf node-${NVER}-linux-${ARCH}.tar.gz
fi fi
......
...@@ -109,7 +109,7 @@ rm -rf "${BIN}/"*.{deb,tar.gz}{,.desc} # Clean up ...@@ -109,7 +109,7 @@ rm -rf "${BIN}/"*.{deb,tar.gz}{,.desc} # Clean up
# ----------- # -----------
cd "${DOWNLOADS}" cd "${DOWNLOADS}"
curl -O http://nodejs.org/dist/${NVER}/node-${NVER}-linux-x64.tar.gz || exit 1 curl -O https://nodejs.org/dist/${NVER}/node-${NVER}-linux-x64.tar.gz || exit 1
tar xzf node-${NVER}-linux-x64.tar.gz || exit 1 tar xzf node-${NVER}-linux-x64.tar.gz || exit 1
rm node-${NVER}-linux-x64.tar.gz rm node-${NVER}-linux-x64.tar.gz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment