Use a custom, known good keyserver to prevent install errors stemming from an inaccessible keyserver

This commit is contained in:
David Heinemeier Hansson
2025-07-14 18:15:48 -07:00
parent 244758fabb
commit d4910dd855

View File

@ -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