From cca93ca3f366af09b92c163e11cdfd3240c11adb Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 29 Jul 2023 08:21:09 +0100 Subject: blobs/download: don't download backup on main The script was actually downloading the backup, at all times, for each given URL. The way we handle this is quite buggy. This patch is a workaround, a dirty hack in fact, but it will do for now, because our backup URLs are always wayback links where the original URL (matching the correct main URL in the sources file) is always present, in the URL. Signed-off-by: Leah Rowe --- resources/scripts/update/blobs/download | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'resources/scripts/update') diff --git a/resources/scripts/update/blobs/download b/resources/scripts/update/blobs/download index af4e7e7a..6067b48f 100755 --- a/resources/scripts/update/blobs/download +++ b/resources/scripts/update/blobs/download @@ -110,7 +110,7 @@ scan_sources_config() case ${line} in EC_url*) set ${line} - ec_url=${2} + ec_url=http${2##*http} ;; EC_url_bkup*) set ${line} @@ -126,7 +126,7 @@ scan_sources_config() ;; DL_url*) set ${line} - dl_url=${2} + dl_url=http${2##*http} ;; DL_url_bkup*) set ${line} @@ -138,7 +138,7 @@ scan_sources_config() ;; E6400_VGA_DL_url*) set ${line} - e6400_vga_dl_url=${2} + e6400_vga_dl_url=http${2##*http} ;; E6400_VGA_DL_url_bkup*) set ${line} -- cgit v1.2.1