Skip to content
Snippets Groups Projects
Unverified Commit 3c23c8a8 authored by boklm's avatar boklm
Browse files

Bug 40889: Add mullvad sha256sums URL to...

Bug 40889: Add mullvad sha256sums URL to download-unsigned-sha256sums-gpg-signatures-from-people-tpo
parent af4a370f
No related branches found
No related tags found
1 merge request!755Bug 40889: Add mullvad sha256sums URL to...
File added
...@@ -3,16 +3,24 @@ set -e ...@@ -3,16 +3,24 @@ set -e
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
source "$script_dir/functions" source "$script_dir/functions"
for builder in $tb_builders for builder in $tb_builders jb
do do
for file in sha256sums-unsigned-build.txt.asc sha256sums-unsigned-build.incrementals.txt.asc for file in sha256sums-unsigned-build.txt sha256sums-unsigned-build.incrementals.txt
do do
tmpfile=$(mktemp) tmpfile=$(mktemp)
chmod 644 "$tmpfile" chmod 644 "$tmpfile"
for url in \ if test "$builder" = 'jb'; then
"https://people.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version-build$tbb_version_build/$file" \ file="$file.gpg"
"https://tb-build-04.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version_type/unsigned/$tbb_version-build$tbb_version_build/$file" \ urls=("https://cdn.devmole.eu/hashes//$SIGNING_PROJECTNAME/$tbb_version-build$tbb_version_build/$file")
"https://tb-build-05.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version_type/unsigned/$tbb_version-build$tbb_version_build/$file" else
file="$file.asc"
urls=( \
"https://people.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version-build$tbb_version_build/$file" \
"https://tb-build-04.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version_type/unsigned/$tbb_version-build$tbb_version_build/$file" \
"https://tb-build-05.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version_type/unsigned/$tbb_version-build$tbb_version_build/$file" \
)
fi
for url in "${urls[@]}"
do do
if wget -q -O "$tmpfile" "$url"; then if wget -q -O "$tmpfile" "$url"; then
mv "$tmpfile" "$signed_version_dir/$file-$builder" mv "$tmpfile" "$signed_version_dir/$file-$builder"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment