From aed892007fa749e0255e53a3a90a09d9b847d6e6 Mon Sep 17 00:00:00 2001 From: richdex14 Date: Mon, 4 Sep 2017 14:35:23 -0600 Subject: [PATCH] Clean up debugging from copying paths issue. --- setup-node-ubuntu.bash | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup-node-ubuntu.bash b/setup-node-ubuntu.bash index db3210d..1eaa5b7 100644 --- a/setup-node-ubuntu.bash +++ b/setup-node-ubuntu.bash @@ -68,10 +68,8 @@ if [ -n "${NODEJS_VER}" ]; then mv ${NODEJS_UNTAR}/${NODEJS_NAME}-${NODEJS_VER}-linux-${ARCH}/* ${NODEJS_UNTAR}/ rm -rf ${NODEJS_UNTAR}/${NODEJS_NAME}-${NODEJS_VER}-linux-${ARCH} # clean up the temporary unzip folder rm ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md} - echo "$node_install_path" - echo "${NODEJS_UNTAR}" $sudo_cmd rsync -av "${NODEJS_UNTAR}/" "$node_install_path/" - echo "Done copying" + rm -rf "${NODEJS_UNTAR}" $sudo_cmd chown -R $(whoami) "$node_install_path/lib/node_modules/" $sudo_cmd chown $(whoami) ""$node_install_path"/bin/"