X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=caddy%2Finstall.sh;h=8d18a40d0c03f348658ede9dc7ebe0a7e0ba8d8c;hb=df64451d4c5aef17b0f52c9d35d290b27202be69;hp=01481948923cc1803695192444ed48fefe1e386b;hpb=5e0debf4c54c1e55476c1bc533c26db2b54d2f77;p=webi-installers%2F.git diff --git a/caddy/install.sh b/caddy/install.sh index 0148194..8d18a40 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`: -# - https://github.com/webinstall/packages/branches/master/webi/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.sh 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() {