forked from coolaj86/node-installer.sh
Debugging copying issues
This commit is contained in:
parent
ae331149f7
commit
28c1ad8484
|
@ -66,9 +66,8 @@ if [ -n "${NODEJS_VER}" ]; then
|
|||
rm ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
|
||||
echo "$node_install_path"
|
||||
echo "${NODEJS_UNTAR}"
|
||||
sudo cp -rf "${NODEJS_UNTAR}/" "$node_install_path/"
|
||||
sync
|
||||
|
||||
sudo rsync -a "${NODEJS_UNTAR}/" "$node_install_path/"
|
||||
echo "Done copying"
|
||||
|
||||
sudo chown -R $(whoami) "$node_install_path/lib/node_modules/"
|
||||
sudo chown $(whoami) ""$node_install_path"/bin/"
|
||||
|
|
Loading…
Reference in New Issue