diff --git a/bin/install-node-system b/bin/install-node-system index 7ef78c5..54c7c54 100755 --- a/bin/install-node-system +++ b/bin/install-node-system @@ -47,7 +47,7 @@ else fi cd ${NODE_PREFIX_DIR} -sudo unlink current +[[ -s current ]] && sudo unlink current sudo ln --symbolic ${NODE_VERSION} current echo current version set to ${NODE_VERSION} cd ${BIN_DIR}