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:
d15b443
)
refactor(node): remove redundant echo
author
AJ ONeal
<aj@therootcompany.com>
Mon, 15 Nov 2021 11:09:30 +0000
(11:09 +0000)
committer
AJ ONeal
<aj@therootcompany.com>
Mon, 15 Nov 2021 11:28:56 +0000
(11:28 +0000)
node/install.sh
patch
|
blob
|
history
diff --git
a/node/install.sh
b/node/install.sh
index ecc20ddf859f14a56097a28ac7e3a934175a44a1..b0f822a38ab988abaea34d6a6e2c4a7f311b61e2 100644
(file)
--- a/
node/install.sh
+++ b/
node/install.sh
@@
-17,7
+17,10
@@
pkg_get_current_version() {
# v12.8.0
# This trims it down to just the version number:
# 12.8.0
- echo "$(node --version 2> /dev/null | head -n 1 | cut -d' ' -f1 | sed 's:^v::')"
+ node --version 2> /dev/null |
+ head -n 1 |
+ cut -d' ' -f1 |
+ sed 's:^v::'
}
pkg_install() {