get.sh: add try_fetch_copy function

just a skeleton that calls the curl function

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-09-12 15:10:44 +01:00
parent a32374f6cc
commit 2d1d7624e9
+5
View File
@@ -154,6 +154,11 @@ try_fetch_git()
return 1; :
}
try_fetch_copy()
{
try_fetch_curl "$@" || return 1; :
}
try_fetch_curl()
{
cached="file/$6"