aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-04-21 16:42:41 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2023-07-12 11:30:28 -0700
commit217c097efa0efbbaa9ddf6a55089854651a78919 (patch)
treed4668731f0c7f83a56523dcff1b18d1c466e7859 /bin
parentdownloads/signatures: Update expiration dates (diff)
downloadwww-217c097efa0efbbaa9ddf6a55089854651a78919.tar.gz
www-217c097efa0efbbaa9ddf6a55089854651a78919.tar.bz2
www-217c097efa0efbbaa9ddf6a55089854651a78919.zip
bin/update-keys: include all-devs, and optimize fetch
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update-keys.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/bin/update-keys.sh b/bin/update-keys.sh
index fe419a8..b753591 100755
--- a/bin/update-keys.sh
+++ b/bin/update-keys.sh
@@ -1,7 +1,15 @@
#!/bin/bash
echo -n 'Updating keyrings...'
-cd _data &&
-wget -T 60 -q -N https://qa-reports.gentoo.org/output/active-devs.gpg &&
-wget -T 60 -q -N https://qa-reports.gentoo.org/output/service-keys.gpg
+if ! cd _data ; then
+ echo "fail."
+ exit 1
+fi
+URLS=(
+ https://qa-reports.gentoo.org/output/service-keys.gpg
+ https://qa-reports.gentoo.org/output/active-devs.gpg
+ https://qa-reports.gentoo.org/output/all-devs.gpg
+)
+# this will do URL pipeline where possible
+wget -T 60 -q -N "${URLS[@]}"
echo done.