Update setup-node-mavericks.bash

This commit is contained in:
AJ ONeal 2017-05-15 22:10:02 -06:00
parent e9837d9445
commit 6dde1965fc
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ if [ -n "${NODEJS_VER}" ]; then
#sudo /usr/sbin/installer -pkg "${NODEJS_PKG}" -target /
# When using .tar.gz
mkdir -p ${NODEJS_UNTAR}/
sudo tar xf "${NODEJS_PKG}" -C "${NODEJS_UNTAR}/"
rm -f ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
sudo rsync -a "${NODEJS_UNTAR}/" "$node_install_path/"