forked from coolaj86/node-installer.sh
Update setup-ubuntu.bash
This commit is contained in:
parent
6433047dab
commit
220530a675
|
@ -25,8 +25,6 @@ fi
|
||||||
|
|
||||||
# iojs
|
# iojs
|
||||||
if [ -n "$(which node | grep node 2>/dev/null)" ]; then
|
if [ -n "$(which node | grep node 2>/dev/null)" ]; then
|
||||||
IOJS_VER=""
|
|
||||||
|
|
||||||
if [ "$(node -v 2>/dev/null)" != "$(iojs -v 2>/dev/null)" ]; then
|
if [ "$(node -v 2>/dev/null)" != "$(iojs -v 2>/dev/null)" ]; then
|
||||||
echo "You have node.js installed. Backing up $(which node) as $(which node).joyent"
|
echo "You have node.js installed. Backing up $(which node) as $(which node).joyent"
|
||||||
echo "(you can move it back after the install if you want separate node.js and io.js installations)"
|
echo "(you can move it back after the install if you want separate node.js and io.js installations)"
|
||||||
|
|
Loading…
Reference in New Issue