aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.