merged iojs-install-script#6
This commit is contained in:
parent
2648050562
commit
5658598c4a
|
@ -38,7 +38,8 @@ if [ -n "${NODEJS_VER}" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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}
|
rm ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
|
||||||
sudo rsync -a "${NODEJS_UNTAR}/" /usr/local/
|
sudo rsync -a "${NODEJS_UNTAR}/" /usr/local/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue