projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe1e8f8
)
improve output when re-installing or switching node versions
author
AJ ONeal
<coolaj86@gmail.com>
Sat, 13 Jun 2020 21:17:05 +0000
(15:17 -0600)
committer
AJ ONeal
<coolaj86@gmail.com>
Sat, 13 Jun 2020 21:17:05 +0000
(15:17 -0600)
node/install.bash
patch
|
blob
|
history
diff --git
a/node/install.bash
b/node/install.bash
index 7787b897adea9bc66c7330fa6aecfa45c7c5077d..24a92d3f6090a096767a0acf743049f2bd3e4140 100644
(file)
--- 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)"