From f7a79238dbb3424b7d3520d8eddfe5e23eb6172a Mon Sep 17 00:00:00 2001 From: Altan Orhon Date: Tue, 7 Nov 2023 23:33:40 -0800 Subject: [PATCH] Updated oras cache --- hyakvnc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyakvnc b/hyakvnc index 9bc91e2..461abbd 100755 --- a/hyakvnc +++ b/hyakvnc @@ -810,7 +810,7 @@ function ghcr_get_oras_sif { # Download the image: local image_url image_url="https://ghcr.io/v2/${repo}/blobs/${image_sha256}" - curl -fSL -H "Authorization: Bearer ${repo_token}" -o "${output_path}" "${image_url}" || { + curl --progress -fSL -H "Authorization: Bearer ${repo_token}" -o "${output_path}" "${image_url}" || { log ERROR "Failed to download image from ${image_url} to ${output_path}" rm -f "${output_path}" && log DEBUG "Removed output file at ${output_path}" # Remove the file if it exists return 1