forked from coolaj86/node-installer.sh
Update setup-node-mavericks.bash
This commit is contained in:
parent
e9837d9445
commit
6dde1965fc
|
@ -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/"
|
||||
|
|
Loading…
Reference in New Issue