forked from coolaj86/node-installer.sh
less verbose output
This commit is contained in:
parent
ccb1487b36
commit
5d39eef143
|
@ -68,7 +68,8 @@ if [ -n "${NODEJS_VER}" ]; then
|
||||||
mv ${NODEJS_UNTAR}/${NODEJS_NAME}-${NODEJS_VER}-linux-${ARCH}/* ${NODEJS_UNTAR}/
|
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 -rf ${NODEJS_UNTAR}/${NODEJS_NAME}-${NODEJS_VER}-linux-${ARCH} # clean up the temporary unzip folder
|
||||||
rm ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
|
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}"
|
rm -rf "${NODEJS_UNTAR}"
|
||||||
|
|
||||||
$sudo_cmd chown -R $(whoami) "$node_install_path/lib/node_modules/"
|
$sudo_cmd chown -R $(whoami) "$node_install_path/lib/node_modules/"
|
||||||
|
|
Loading…
Reference in New Issue