forked from extern/ohmyzsh
fix(archlinux): update URL and key server in pacmanallkeys
(#9569)
- Added follow redirects curl flag to fix the 301 response - Updated trusted users URL format - Changed from `pgp.mit.edu` keyserver to `keyserver.ubuntu.com` keyserver
This commit is contained in:
parent
9e5f280f87
commit
66e0438d47
@ -188,8 +188,8 @@ function pacdisowned() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function pacmanallkeys() {
|
function pacmanallkeys() {
|
||||||
curl -s https://www.archlinux.org/people/{developers,trustedusers}/ | \
|
curl -sL https://www.archlinux.org/people/{developers,trusted-users}/ | \
|
||||||
awk -F\" '(/pgp.mit.edu/) { sub(/.*search=0x/,""); print $1}' | \
|
awk -F\" '(/keyserver.ubuntu.com/) { sub(/.*search=0x/,""); print $1}' | \
|
||||||
xargs sudo pacman-key --recv-keys
|
xargs sudo pacman-key --recv-keys
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user