From d4910dd85519b74a440c64f744c8e8699c40612c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 14 Jul 2025 18:15:48 -0700 Subject: [PATCH] Use a custom, known good keyserver to prevent install errors stemming from an inaccessible keyserver --- install/1-yay.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install/1-yay.sh b/install/1-yay.sh index 9913bfa..fbf841f 100644 --- a/install/1-yay.sh +++ b/install/1-yay.sh @@ -9,3 +9,9 @@ if ! command -v yay &>/dev/null; then rm -rf yay-bin cd ~ fi + +# FIXME: Temporary fix for the fact that some locations can't reach the default keyserver +if [[ ! -f "$HOME/.gnupg/gpg.conf" ]]; then + mkdir -p ~/.gnupg + echo "keyserver hkps://pgp.mit.edu" >~/.gnupg/dirmngr.conf +fi