forked from coolaj86/node-installer.sh
Update setup-node-ubuntu.bash
This commit is contained in:
parent
94e18f04a9
commit
c3e6fa9660
|
@ -53,7 +53,7 @@ if [ -n "${NODEJS_VER}" ]; then
|
|||
mkdir -p ${NODEJS_UNTAR}/
|
||||
tar xf ${NODEJS_LOCAL} -C ${NODEJS_UNTAR}/ --strip-components=1
|
||||
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/"
|
||||
|
|
Loading…
Reference in New Issue