forked from coolaj86/node-installer.sh
handle node + iojs
This commit is contained in:
parent
5f316be072
commit
1928941c1b
|
@ -35,6 +35,7 @@ if [ -n "$(which node | grep node 2>/dev/null)" ]; then
|
||||||
|
|
||||||
if [ "${IOJS_VER}" == "$(iojs -v 2>/dev/null)" ]; then
|
if [ "${IOJS_VER}" == "$(iojs -v 2>/dev/null)" ]; then
|
||||||
echo iojs ${IOJS_VER} already installed
|
echo iojs ${IOJS_VER} already installed
|
||||||
|
IOJS_VER=""
|
||||||
else
|
else
|
||||||
clear
|
clear
|
||||||
echo ""
|
echo ""
|
||||||
|
@ -43,7 +44,6 @@ if [ -n "$(which node | grep node 2>/dev/null)" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "to reinstall please first run: rm $(which iojs)"
|
echo "to reinstall please first run: rm $(which iojs)"
|
||||||
echo ""
|
echo ""
|
||||||
IOJS_VER=""
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue