From: AJ ONeal Date: Mon, 5 Oct 2020 23:07:22 +0000 (+0000) Subject: remove top-level pre-expansion X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=8e3cc6d1a888233fefa899f9b69c20b5a96ea81c;p=webi-installers%2F.git remove top-level pre-expansion --- diff --git a/_webi/template.sh b/_webi/template.sh index 6ca7bbf..a041e41 100644 --- a/_webi/template.sh +++ b/_webi/template.sh @@ -1,6 +1,6 @@ #!/bin/bash -{ +function __bootstrap_webi() { set -e set -u @@ -284,12 +284,14 @@ echo "Have a problem? Experience a bug? Please let us know:" echo " https://github.com/webinstall/packages/issues" echo "" -{ +function __init_installer() { {{ installer }} } +__init_installer + ## ## ## END custom override functions @@ -354,3 +356,5 @@ rm -rf "$WEBI_TMP" # See? No magic. Just downloading and moving files. } + +__bootstrap_webi