From 62fbb37acf360de8a3564fff12716cde6b710865 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 5 Dec 2021 00:59:48 +0000 Subject: [PATCH] docs(internal): comments about downloads --- _webi/template.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_webi/template.sh b/_webi/template.sh index eeed377..373b159 100644 --- a/_webi/template.sh +++ b/_webi/template.sh @@ -139,6 +139,7 @@ function __bootstrap_webi() { # detect if file is downloaded, and how to download it webi_download() { + # determine the url to download if [ -n "${1:-}" ]; then my_url="$1" else @@ -154,6 +155,8 @@ function __bootstrap_webi() { fi my_url="$WEBI_PKG_URL" fi + + # determine the location to download to if [ -n "${2:-}" ]; then my_dl="$2" else