From 8e3cc6d1a888233fefa899f9b69c20b5a96ea81c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 5 Oct 2020 23:07:22 +0000 Subject: [PATCH] remove top-level pre-expansion --- _webi/template.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.25.1