Compare commits

...

2 Commits

Author SHA1 Message Date
AJ ONeal 3e7745177f Merge branch 'master' of ssh://git.coolaj86.com:22042/coolaj86/node-installer.sh 2017-11-07 04:46:22 -07:00
AJ ONeal 5d39eef143 less verbose output 2017-11-07 04:45:52 -07:00
1 changed files with 4 additions and 3 deletions

View File

@ -68,7 +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}
$sudo_cmd rsync -av "${NODEJS_UNTAR}/" "$node_install_path/"
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/"