aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-04-21 22:58:24 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2023-04-21 22:59:21 -0700
commit09b4d51a82d2f659cb790da41d53c29a98bd2a84 (patch)
tree4b5d4ae23d742d959f470c3ae8356ff35f621070
parentRevert "wkd: pass all keyrings during export, otherwise export-clean removes ... (diff)
downloadwww-09b4d51a82d2f659cb790da41d53c29a98bd2a84.tar.gz
www-09b4d51a82d2f659cb790da41d53c29a98bd2a84.tar.bz2
www-09b4d51a82d2f659cb790da41d53c29a98bd2a84.zip
Revert "bin/update-keys: include all-devs, and optimize fetch"
This reverts commit 83c1b3b6ab35eac47dce17fc814684023dd106ae. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xbin/update-keys.sh14
1 files changed, 3 insertions, 11 deletions
diff --git a/bin/update-keys.sh b/bin/update-keys.sh
index b753591..fe419a8 100755
--- a/bin/update-keys.sh
+++ b/bin/update-keys.sh
@@ -1,15 +1,7 @@
#!/bin/bash
echo -n 'Updating keyrings...'
-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[@]}"
+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
echo done.