fix iojs-install-script#6
This commit is contained in:
parent
5658598c4a
commit
1445f20fca
|
@ -38,8 +38,8 @@ if [ -n "${NODEJS_VER}" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p ${NODEJS_UNTAR}/
|
||||||
tar xf ${NODEJS_LOCAL} -C ${NODEJS_UNTAR}/ --strip-components=1
|
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