mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue