handle node + iojs

Cette révision appartient à :
AJ ONeal 2015-01-15 14:43:34 -07:00
Parent 5f316be072
révision 1928941c1b

Voir le fichier

@ -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