nodejs: specify download path

This commit is contained in:
openoms
2019-12-25 01:22:24 +01:00
parent ec54f0cccc
commit 2ff8ee241d

View File

@@ -57,6 +57,7 @@ if [ ${nodeJSInstalled} -eq 0 ]; then
echo "*** Install NodeJS $VERSION-$DISTRO ***"
# download
cd /home/admin/download
wget https://nodejs.org/dist/$VERSION/node-$VERSION-$DISTRO.tar.xz
# checksum
isChecksumValid=$(sha256sum node-$VERSION-$DISTRO.tar.xz | grep -c "${CHECKSUM}")