Compare commits
No commits in common. "3e7745177f88b0f5c63ffbd2451bd98c22fbe841" and "90cdb8f93eaf890e7c5784394cb449bb92132b9c" have entirely different histories.
3e7745177f
...
90cdb8f93e
|
@ -67,11 +67,10 @@ 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}
|
||||
echo $sudo_cmd rsync -a "${NODEJS_UNTAR}/" "$node_install_path/"
|
||||
$sudo_cmd rsync -a "${NODEJS_UNTAR}/" "$node_install_path/"
|
||||
rm ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
|
||||
$sudo_cmd rsync -av "${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
|
||||
fi
|
Loading…
Reference in New Issue