From 6ba463d284b063c0d63babce9fbeefbde65a36d6 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 16 Jun 2020 11:12:08 +0000 Subject: [PATCH] update comments --- caddy/install.sh | 9 ++++++--- node/install.sh | 7 +++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/caddy/install.sh b/caddy/install.sh index 0148194..d46c52f 100644 --- a/caddy/install.sh +++ b/caddy/install.sh @@ -1,14 +1,17 @@ #!/bin/bash -# This file only defines custom functions which may be unique to installing Caddy. -# For the generic functions (version comparison, downloading, symlinking) which -# are used by almost all installers, see `template.bash`: +# "This is too simple" you say! "Where is the magic!?" you ask. +# There is no magic! +# The custom functions for Caddy are here. +# The generic functions - version checks, download, extract, etc - are here: # - https://github.com/webinstall/packages/branches/master/webi/template.bash set -e set -u pkg_cmd_name="caddy" + +# IMPORTANT: this let's other functions know to expect this to be a single file WEBI_SINGLE=true pkg_get_current_version() { diff --git a/node/install.sh b/node/install.sh index f2c259c..2a9eb86 100644 --- a/node/install.sh +++ b/node/install.sh @@ -1,9 +1,16 @@ #!/bin/bash +# "This is too simple" you say! "Where is the magic!?" you ask. +# 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 + set -e set -u pkg_cmd_name="node" +#WEBI_SINGLE="" pkg_get_current_version() { # 'node --version' has output in this format: -- 2.25.1