projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: shfmt, shellcheck, and whitespace
[webi-installers/.git]
/
node
/
install.sh
diff --git
a/node/install.sh
b/node/install.sh
index add502255560d7ec12a4334a99127157be05f64f..ecc20ddf859f14a56097a28ac7e3a934175a44a1 100644
(file)
--- a/
node/install.sh
+++ b/
node/install.sh
@@
-17,7
+17,7
@@
pkg_get_current_version() {
# v12.8.0
# This trims it down to just the version number:
# 12.8.0
# 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::')"
+ echo "$(node --version 2>
/dev/null | head -n 1 | cut -d' ' -f1 | sed 's:^v::')"
}
pkg_install() {
}
pkg_install() {