From: AJ ONeal Date: Sat, 13 Jun 2020 21:17:05 +0000 (-0600) Subject: improve output when re-installing or switching node versions X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=96012b4f24f8446c44f643c796bf1810d0434b6d;p=webi-installers%2F.git improve output when re-installing or switching node versions --- diff --git a/node/install.bash b/node/install.bash index 7787b89..24a92d3 100644 --- a/node/install.bash +++ b/node/install.bash @@ -103,12 +103,6 @@ update_node_home() { webi_path_add "$common_node_home/bin" } -if [ -x "$new_node" ]; then - update_node_home - echo "switched to node v${WEBI_VERSION} at $new_node_home" - exit 0 -fi - # Test for existing version set +e cur_node="$(command -v node)"