summaryrefslogtreecommitdiff
path: root/src/get.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 14:00:39 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 14:00:39 +0100
commit9752813e90d663aab55c33d3877886a9013f36db (patch)
tree5a559b208726062e0cf434c872eef7f699bec7ac /src/get.sh
parent9e39c7f1ff0d3bfa092107cbf5621711f11268d4 (diff)
fixed using wrong checksum when downloading packagesv1.5.2
Diffstat (limited to 'src/get.sh')
-rwxr-xr-xsrc/get.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/get.sh b/src/get.sh
index ffa5372..4296569 100755
--- a/src/get.sh
+++ b/src/get.sh
@@ -117,6 +117,9 @@ download_packages () {
mkdir -p "$out_dir"
for package in $@; do
+ set -- $(get_package_download_info $package)
+ checksum=$2
+ size=$3
outputs="$outputs ${out_dir}/${checksum}.${package}.xipkg"
done
fetch_serial $total_download $outputs
@@ -255,3 +258,4 @@ fetch_parallel () {
done
wait_for_download total_download $@ &
}
+