From 2d1d7624e9179f11c95562cd6cf74871e7bb5f3f Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 12 Sep 2026 15:10:44 +0100 Subject: [PATCH] get.sh: add try_fetch_copy function just a skeleton that calls the curl function Signed-off-by: Leah Rowe --- include/get.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/get.sh b/include/get.sh index f10c8597..3ad1dcf0 100644 --- a/include/get.sh +++ b/include/get.sh @@ -154,6 +154,11 @@ try_fetch_git() return 1; : } +try_fetch_copy() +{ + try_fetch_curl "$@" || return 1; : +} + try_fetch_curl() { cached="file/$6"