mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02: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:
1 parent
9e5f280f87
commit
66e0438d47
1 file changed
+2
-2
@@ -188,8 +188,8 @@ function pacdisowned() {
|
||||
}
|
||||
|
||||
function pacmanallkeys() {
|
||||
curl -s https://www.archlinux.org/people/{developers,trustedusers}/ | \
|
||||
awk -F\" '(/pgp.mit.edu/) { sub(/.*search=0x/,""); print $1}' | \
|
||||
curl -sL https://www.archlinux.org/people/{developers,trusted-users}/ | \
|
||||
awk -F\" '(/keyserver.ubuntu.com/) { sub(/.*search=0x/,""); print $1}' | \
|
||||
xargs sudo pacman-key --recv-keys
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user