Skip to content

Commit

Permalink
Add some verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemric committed Nov 23, 2023
1 parent aeb84a2 commit 0d7e234
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ while [ $# -gt 0 ]; do
done

data="$streampath/$stream.json"
echo "Checking updates from $stream stream at : $data"
echo "Checking updates from $stream stream from : $data"

echo "Looking for $artifact $arch release"
data=$(curl --no-progress-meter $data | jq .architectures.$arch.artifacts.$artifact)
Expand Down Expand Up @@ -75,6 +75,7 @@ then
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
echo "Check sha256sum and GPG signature"
if echo "$(jq -n "$fileinfo" | jq --raw-output .sha256) $filename" | sha256sum --check && gpg --verify $filename.sig
then
break
Expand Down

0 comments on commit 0d7e234

Please sign in to comment.