Update setup-node-ubuntu.bash

This commit is contained in:
AJ ONeal 2017-05-15 21:51:46 -06:00
parent 94e18f04a9
commit c3e6fa9660
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ if [ -n "${NODEJS_VER}" ]; then
mkdir -p ${NODEJS_UNTAR}/ mkdir -p ${NODEJS_UNTAR}/
tar xf ${NODEJS_LOCAL} -C ${NODEJS_UNTAR}/ --strip-components=1 tar xf ${NODEJS_LOCAL} -C ${NODEJS_UNTAR}/ --strip-components=1
rm ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md} rm ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
sudo rsync -a "${NODEJS_UNTAR}/" "$node_install_path" sudo rsync -a "${NODEJS_UNTAR}/" "$node_install_path/"
sudo chown -R $(whoami) "$node_install_path/lib/node_modules/" sudo chown -R $(whoami) "$node_install_path/lib/node_modules/"