chore: use nodejs from meteor static

This commit is contained in:
Anton Georgiev 2023-05-02 14:13:11 -04:00
parent baeaecdf82
commit d328988659

View File

@ -7,7 +7,7 @@ PACKAGE=$(echo $TARGET | cut -d'_' -f1)
VERSION=$(echo $TARGET | cut -d'_' -f2)
DISTRO=$(echo $TARGET | cut -d'_' -f3)
NODE_VERSION="14.21.2"
NODE_VERSION="14.21.3"
NODE_DIRNAME="node-v${NODE_VERSION}-linux-x64"
#
@ -18,7 +18,7 @@ pushd .
mkdir -p staging/usr/lib/bbb-html5/node
cd staging/usr/lib/bbb-html5/node
wget --waitretry=30 --timeout=20 --retry-connrefused --retry-on-host-error --retry-on-http-error=404,522 https://nodejs.org/dist/v${NODE_VERSION}/${NODE_DIRNAME}.tar.gz
wget --waitretry=30 --timeout=20 --retry-connrefused --retry-on-host-error --retry-on-http-error=404,522 https:///static.meteor.com/dev-bundle-node-os/v${NODE_VERSION}/${NODE_DIRNAME}.tar.gz
if [ -f ${NODE_DIRNAME}.tar.gz ]; then
tar xfz ${NODE_DIRNAME}.tar.gz
mv ${NODE_DIRNAME}/* .