merged iojs-install-script#6

This commit is contained in:
AJ ONeal 2016-03-28 17:12:06 -04:00
parent 2648050562
commit 5658598c4a
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@ if [ -n "${NODEJS_VER}" ]; then
exit 1
fi
tar xf ${NODEJS_LOCAL} -C /tmp/
tar xf ${NODEJS_LOCAL} -C ${NODEJS_UNTAR}/ --strip-components=1
#tar xf ${NODEJS_LOCAL} -C /tmp/
rm ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
sudo rsync -a "${NODEJS_UNTAR}/" /usr/local/