forked from coolaj86/node-installer.sh
handle node + iojs
This commit is contained in:
parent
8916e4501a
commit
b44332e44d
|
@ -51,8 +51,8 @@ elif [ "$(node -v 2>/dev/null)" != "$(iojs -v 2>/dev/null)" ]; then
|
||||||
echo "(copy it back after the install if to maintain node.js and io.js separately)"
|
echo "(copy it back after the install if to maintain node.js and io.js separately)"
|
||||||
echo ""
|
echo ""
|
||||||
echo sudo mv "$(which node)" "$(which node).$(node -v)"
|
echo sudo mv "$(which node)" "$(which node).$(node -v)"
|
||||||
sudo mv "$(which node)" "$(which node).$(node -v)"
|
|
||||||
sleep 3
|
sleep 3
|
||||||
|
sudo mv "$(which node)" "$(which node).$(node -v)"
|
||||||
echo "################################################################################"
|
echo "################################################################################"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue