From 5f31f8e299a97e899c1bda9104841d74790fdc97 Mon Sep 17 00:00:00 2001 From: Nemric <56299157+Nemric@users.noreply.github.com> Date: Thu, 23 Nov 2023 19:02:11 +0100 Subject: [PATCH] My bad ! --- Update.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Update.sh b/Update.sh index 7d4bcea..3059b9b 100755 --- a/Update.sh +++ b/Update.sh @@ -72,9 +72,9 @@ then for try in {1..2} #let's try 2 times downloading with correct checksum do echo "Downloading $(jq -n "$fileinfo" | jq --raw-output .location) to $filename" - # curl -C - --no-progress-meter --parallel \ - # -o $filename $(jq -n "$fileinfo" | jq --raw-output .location) \ - # -o $filename.sig $(jq -n "$fileinfo" | jq --raw-output .signature) #Downloading fileinfo.location and .signature + curl -C - --no-progress-meter --parallel \ + -o $filename $(jq -n "$fileinfo" | jq --raw-output .location) \ + -o $filename.sig $(jq -n "$fileinfo" | jq --raw-output .signature) #Downloading fileinfo.location and .signature if echo "$(jq -n "$fileinfo" | jq --raw-output .sha256) $filename" | sha256sum --check && gpg --verify $filename.sig then break @@ -83,7 +83,7 @@ then fi done done - # cat <<< $(jq --arg release $FCOSrelease '.'$stream'.'$arch'.'$artifact'.'$format' = $release' $versions) > $versions + cat <<< $(jq --arg release $FCOSrelease '.'$stream'.'$arch'.'$artifact'.'$format' = $release' $versions) > $versions else echo "Up to date, nothing to do" fi \ No newline at end of file