From 5d39eef14351466ddbef79e8d85d66736aa18bf9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 7 Nov 2017 04:45:52 -0700 Subject: [PATCH] less verbose output --- setup-node-ubuntu.bash | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup-node-ubuntu.bash b/setup-node-ubuntu.bash index 1eaa5b7..0b23aa1 100644 --- a/setup-node-ubuntu.bash +++ b/setup-node-ubuntu.bash @@ -67,10 +67,11 @@ if [ -n "${NODEJS_VER}" ]; then tar xf ${NODEJS_LOCAL} -C ${NODEJS_UNTAR}/ #--strip-components=1 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} - $sudo_cmd rsync -av "${NODEJS_UNTAR}/" "$node_install_path/" + rm ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md} + echo $sudo_cmd rsync -a "${NODEJS_UNTAR}/" "$node_install_path/" + $sudo_cmd rsync -a "${NODEJS_UNTAR}/" "$node_install_path/" rm -rf "${NODEJS_UNTAR}" $sudo_cmd chown -R $(whoami) "$node_install_path/lib/node_modules/" $sudo_cmd chown $(whoami) ""$node_install_path"/bin/" -fi \ No newline at end of file +fi