# There is no magic!
# The custom functions for node are here.
# The generic functions - version checks, download, extract, etc - are here:
-# - https://github.com/webinstall/packages/branches/master/webi/template.bash
+# - https://github.com/webinstall/packages/branches/master/_webi/template.sh
set -e
set -u
# 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() {