forked from coolaj86/node-installer.sh
Update setup-node-mavericks.bash
This commit is contained in:
parent
0a5ec4deba
commit
e9837d9445
|
@ -44,7 +44,7 @@ if [ -n "${NODEJS_VER}" ]; then
|
||||||
#sudo /usr/sbin/installer -pkg "${NODEJS_PKG}" -target /
|
#sudo /usr/sbin/installer -pkg "${NODEJS_PKG}" -target /
|
||||||
|
|
||||||
# When using .tar.gz
|
# When using .tar.gz
|
||||||
sudo tar xf "${NODEJS_PKG}" -C "{NODEJS_UNTAR}/"
|
sudo tar xf "${NODEJS_PKG}" -C "${NODEJS_UNTAR}/"
|
||||||
rm -f ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
|
rm -f ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
|
||||||
sudo rsync -a "${NODEJS_UNTAR}/" "$node_install_path/"
|
sudo rsync -a "${NODEJS_UNTAR}/" "$node_install_path/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue